angular-drag-and-drop-lists.js
function filterEffects(effects, effectAllowed) {
    if (effectAllowed == 'all') return effects;
    return effects.filter(function(effect) {
      return effectAllowed.toLowerCase().indexOf(effect) != -1;
    });
  }
function filterEffects(effects, effectAllowed) {
    if (effectAllowed == 'all') return effects;
    return effects.filter(function(effect) {
      return effectAllowed.toLowerCase().indexOf(effect) != -1;
    });
  }
function filterEffects ( effects , effectAllowed ) { if ( effectAllowed == 'all' ) return effects ; return effects . filter ( function ( effect ) { return effectAllowed . toLowerCase ( ) . indexOf ( effect ) != - 1 ; } ) ; }
Filters an array of drop effects using a HTML5 effectAllowed string.
Filters an array of drop effects using a HTML5 effectAllowed string .