code: function () {
          var self = this, name;
  
          if (self.delegates) {
            for (name in self.delegates) {
              self.dom.unbind(getEventTarget(self, name), name, self.delegates[name]);
            }
  
            delete self.delegates;
          }
  
          if (!self.inline) {
            self.getBody().onload = null;
            self.dom.unbind(self.getWin());
            self.dom.unbind(self.getDoc());
          }
  
          self.dom.unbind(self.getBody());
          self.dom.unbind(self.getContainer());
        }
docs: Unbinds all native event handlers that means delegates, custom events bound using the Events API etc.
  
  @private