docs: function(context, name) {
  
                      var method = typeof name === "string" ? context[name] : name;
  
                      if (!isFunction(method)) {
                          method = context[method];
                      }
  
                      return function() {
                          context.called = name;
                          return method.apply(context, [this.nodeName ? can.$(this) : this].concat(slice.call(arguments, 0)));
                      };
                  }