slot5/js/slot.js
function _find( items, id ) {
        for ( var i=0; i < items.length; i++ ) {
            if (items[i].id == id) return i;
        }
    }
function _find( items, id ) {
        for ( var i=0; i < items.length; i++ ) {
            if (items[i].id == id) return i;
        }
    }
function _find ( items , id ) { for ( var i = 0 ; i < items . length ; i ++ ) { if ( items [ i ] . id == id ) return i ; } }
function locates id from items
function locates id from items