1/** 2 * User: kjh 3 * Date: 13. 6. 27 4 * Time: ì¤í 7:58 5 * ìëì ìì¤ë WEVENì ì ìê¶ì´ ìì¼ë¯ë¡ ë¬´ë¨ ì¬ì© ë° ì¬ ë°°í¬ë¥¼ ê¸í©ëë¤. 6 */ 7 8 9 10bm.__isEnterPlay = false; 11bm.__enterFnList = []; 12bm.enterFPS = 20; 13 14bm.onEnter = function(){ 15 if( this.__isEnterPlay == false ) return; 16 var len = this.__enterFnList.length; 17 while( len-- ) this.__enterFnList[len](); 18 19 var context = this; 20 setTimeout( function(){ context.onEnter(); }, 1000/context.enterFPS ); 21} 22 23bm.onEnterRegist = function( fn, arg ){ 24 if( this.__enterFnList.indexOf( fn ) > -1 ) return; 25 this.__enterFnList.push( fn ); 26 27 if( this.__isEnterPlay == false ){ 28 this.__isEnterPlay = true; 29 this.onEnter(arg); 30 } 31} 32 33bm.onEnterRemove = function( fn ){ 34 var idx = this.__enterFnList.indexOf( fn ); 35 if( idx == -1 ) return; 36 this.__enterFnList.splice( idx, 1 ); 37 if( this.__enterFnList.length == 0 && this.__isEnterPlay == true ) this.__isEnterPlay = false; 38}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.