leap-remote.js
function getGesture(gestures, type) {
  if (!gestures.length) return;
  var types = _.pluck(gestures, 'type');
  var index = types.indexOf(type);
  if (index > -1) return gestures[index];
}
function getGesture(gestures, type) {
  if (!gestures.length) return;
  var types = _.pluck(gestures, 'type');
  var index = types.indexOf(type);
  if (index > -1) return gestures[index];
}
function getGesture ( gestures , type ) { if ( ! gestures . length ) return ; var types = _ . pluck ( gestures , 'type' ) ; var index = types . indexOf ( type ) ; if ( index > - 1 ) return gestures [ index ] ; }
get only the circle gesture from the gestures array
get only the circle gesture from the gestures array