src/basis/dom/event.js
function onUnload(handler, thisObject){
    // deprecated in 1.4
    /** @cut */ basis.dev.warn('basis.dom.event.onUnload() is deprecated, use basis.teardown() instead');
    basis.teardown(handler, thisObject);
  }
function onUnload(handler, thisObject){
    // deprecated in 1.4
    /** @cut */ basis.dev.warn('basis.dom.event.onUnload() is deprecated, use basis.teardown() instead');
    basis.teardown(handler, thisObject);
  }
function onUnload ( handler , thisObject ) { // deprecated in 1.4 /** @cut */ basis . dev . warn ( 'basis.dom.event.onUnload() is deprecated, use basis.teardown() instead' ) ; basis . teardown ( handler , thisObject ) ; }
on document load event dispatcher  
Attach unload handlers for page
@param {function(event)} handler
@param {object=} thisObject Context for handler
on document load event dispatcher Attach unload handlers for page