_demo/assets/js/list-scroll.js
function contains( element ) {
    for( var i = 0, len = lists.length; i < len; i++ ) {
      if( lists[i].element == element ) {
        return true;
      }
    }
    return false;
  }
function contains( element ) {
    for( var i = 0, len = lists.length; i < len; i++ ) {
      if( lists[i].element == element ) {
        return true;
      }
    }
    return false;
  }
function contains ( element ) { for ( var i = 0 , len = lists . length ; i < len ; i ++ ) { if ( lists [ i ] . element == element ) { return true ; } } return false ; }
Checks if the specified element has already been bound.
Checks if the specified element has already been bound .