PageSourceSearch

https://micekorea.or.kr/weven_service/asset/js/bm2/control/EnterFrame.js

js micekorea.or.kr collected 2026-10-06 09:07:32 UTC 1,028 bytes, 38 lines download raw bytes

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.