PageRenderTime 19ms CodeModel.GetById 17ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/javascripts/lib/src/ext-core/src/adapter/ext-base-end.js

https://bitbucket.org/ksokmesa/sina-asian
JavaScript | 21 lines | 13 code | 2 blank | 6 comment | 1 complexity | 98737ffaf95c24238f736b8135ca0e7e MD5 | raw file
Possible License(s): GPL-3.0
 1/*!
 2 * Ext JS Library 3.2.1
 3 * Copyright(c) 2006-2010 Ext JS, Inc.
 4 * licensing@extjs.com
 5 * http://www.extjs.com/license
 6 */
 7	
 8	if(Ext.isIE) {
 9        function fnCleanUp() {
10            var p = Function.prototype;
11            delete p.createSequence;
12            delete p.defer;
13            delete p.createDelegate;
14            delete p.createCallback;
15            delete p.createInterceptor;
16
17            window.detachEvent("onunload", fnCleanUp);
18        }
19        window.attachEvent("onunload", fnCleanUp);
20    }
21})();