/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

  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. if(Ext.isIE) {
  8. function fnCleanUp() {
  9. var p = Function.prototype;
  10. delete p.createSequence;
  11. delete p.defer;
  12. delete p.createDelegate;
  13. delete p.createCallback;
  14. delete p.createInterceptor;
  15. window.detachEvent("onunload", fnCleanUp);
  16. }
  17. window.attachEvent("onunload", fnCleanUp);
  18. }
  19. })();