dist/scalejs.base.array.js
function removeOne(array, item) {
    var found = array.indexOf(item);
    if (found > -1) {
        array.splice(found, 1);
    }
}
function removeOne(array, item) {
    var found = array.indexOf(item);
    if (found > -1) {
        array.splice(found, 1);
    }
}
function removeOne ( array , item ) { var found = array . indexOf ( item ) ; if ( found > - 1 ) { array . splice ( found , 1 ) ; } }
Removes the first occurrance of the passed item from the passed array

@param {Array} array list remove the item from
@param {Any}   item  item to be removed from the list
@memberOf array
Removes the first occurrance of the passed item from the passed array