demos/lib/keymaster.js
function getKeys(key) {
    var keys;
    key = key.replace(/\s/g, '');
    keys = key.split(',');
    if ((keys[keys.length - 1]) == '') {
      keys[keys.length - 2] += ',';
    }
    return keys;
  }
function getKeys(key) {
    var keys;
    key = key.replace(/\s/g, '');
    keys = key.split(',');
    if ((keys[keys.length - 1]) == '') {
      keys[keys.length - 2] += ',';
    }
    return keys;
  }
function getKeys ( key ) { var keys ; key = key . replace ( / \s / g , '' ) ; keys = key . split ( ',' ) ; if ( ( keys [ keys . length - 1 ] ) == '' ) { keys [ keys . length - 2 ] += ',' ; } return keys ; }
abstract key logic for assign and unassign
abstract key logic for assign and unassign