plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.js
function(arrayToSubstract) {
      arrayToSubstract = wysihtml5.lang.array(arrayToSubstract);
      var newArr  = [],
          i       = 0,
          length  = arr.length;
      for (; i<length; i++) {
        if (!arrayToSubstract.contains(arr[i])) {
          newArr.push(arr[i]);
        }
      }
      return newArr;
    }
function(arrayToSubstract) {
      arrayToSubstract = wysihtml5.lang.array(arrayToSubstract);
      var newArr  = [],
          i       = 0,
          length  = arr.length;
      for (; i<length; i++) {
        if (!arrayToSubstract.contains(arr[i])) {
          newArr.push(arr[i]);
        }
      }
      return newArr;
    }
function ( arrayToSubstract ) { arrayToSubstract = wysihtml5 . lang . array ( arrayToSubstract ) ; var newArr = [ ] , i = 0 , length = arr . length ; for ( ; i < length ; i ++ ) { if ( ! arrayToSubstract . contains ( arr [ i ] ) ) { newArr . push ( arr [ i ] ) ; } } return newArr ; }
Substract one array from another

@example
wysihtml5.lang.array([1, 2, 3, 4]).without([3, 4]);
// => [1, 2]
Substract one array from another