public/javascripts/WireIt/build/wireit-inputex-editor-grouping.js
function(arr) {
      var n = [], l=arr.length,i;
      for(i = 0 ; i < l ; i++) {
         if( !lang.isNull(arr[i]) && !lang.isUndefined(arr[i]) ) {
            n.push(arr[i]);
         }
      }
      return n;
   }
function(arr) {
      var n = [], l=arr.length,i;
      for(i = 0 ; i < l ; i++) {
         if( !lang.isNull(arr[i]) && !lang.isUndefined(arr[i]) ) {
            n.push(arr[i]);
         }
      }
      return n;
   }
function ( arr ) { var n = [ ] , l = arr . length , i ; for ( i = 0 ; i < l ; i ++ ) { if ( ! lang . isNull ( arr [ i ] ) && ! lang . isUndefined ( arr [ i ] ) ) { n . push ( arr [ i ] ) ; } } return n ; }
Create a new array without the null or undefined values
@static
@param {Array} arr The array to compact
@return {Array} The new array
Create a new array without the null or undefined values