bundles/org.eclipse.orion.client.ui/web/plugins/samples/largeFileSearch/require.js
function each(ary, func) {
        if (ary) {
            var i;
            for (i = 0; i < ary.length; i += 1) {
                if (ary[i] && func(ary[i], i, ary)) {
                    break;
                }
            }
        }
    }
function each(ary, func) {
        if (ary) {
            var i;
            for (i = 0; i < ary.length; i += 1) {
                if (ary[i] && func(ary[i], i, ary)) {
                    break;
                }
            }
        }
    }
function each ( ary , func ) { if ( ary ) { var i ; for ( i = 0 ; i < ary . length ; i += 1 ) { if ( ary [ i ] && func ( ary [ i ] , i , ary ) ) { break ; } } } }
Helper function for iterating over an array. If the func returns
a true value, it will break out of the loop.
Helper function for iterating over an array . If the func returns a true value it will break out of the loop .