index.js
function () {
			if (sequence) {
				var localNodes = sequence.nodes;
				var localIndex = (localNodes) ? localNodes.indexOf(node) : null;

				if (localNodes) {
					if (localIndex === (localNodes.length - 1)) {
						return sequence.sequences || [];
					} else {
						return [];
					}
				}
			}
		}
function () {
			if (sequence) {
				var localNodes = sequence.nodes;
				var localIndex = (localNodes) ? localNodes.indexOf(node) : null;

				if (localNodes) {
					if (localIndex === (localNodes.length - 1)) {
						return sequence.sequences || [];
					} else {
						return [];
					}
				}
			}
		}
function ( ) { if ( sequence ) { var localNodes = sequence . nodes ; var localIndex = ( localNodes ) ? localNodes . indexOf ( node ) : null ; if ( localNodes ) { if ( localIndex === ( localNodes . length - 1 ) ) { return sequence . sequences || [ ] ; } else { return [ ] ; } } } }
Return any variations available at the current move
Return any variations available at the current move