oakmac/chessboardjs — pull request #30 by Synesso (2013-08-03 12:36:02+00:00)
Title: Update 5000.example

Simplified `onDragStart`. It now directly references chess.js to see if the source has any valid moves. In this way, pieces with no valid moves are no longer selectable.