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

/hippo/src/main/webapp/ext/src/adapter/core/ext-base-end.js

http://hdbc.googlecode.com/
JavaScript | 21 lines | 13 code | 2 blank | 6 comment | 1 complexity | a0c45c54282c200c1dcde37c318b8403 MD5 | raw file
 1/*!
 2 * Ext JS Library 3.0.0
 3 * Copyright(c) 2006-2009 Ext JS, LLC
 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})();