docs: function(callbacks, context){
        // avoid warnings on trying to remove handler for destroyed instance
        // since it droped all handlers
        if (this.destroy === warnOnDestroy)
          return;
  
        var cursor = this;
        var prev;
  
        context = context || this;
  
        // search for handler and remove it
        while (prev = cursor, cursor = cursor.handler)
          if (cursor.callbacks === callbacks && cursor.context === context)
          {
            // make it non-callable
            cursor.callbacks = NULL_HANDLER;
  
            // remove from list
            prev.handler = cursor.handler;
  
            return;
          }
  
        // handler not found
        /** @cut */ basis.dev.warn(namespace + '.Emitter#removeHandler: no handler removed');
      }