Lines Matching refs:context

86       case 3: return function(iteratee, context) {
87 return _[method](this[attribute], cb(iteratee, this), context);
89 case 4: return function(iteratee, defaultVal, context) {
90 return _[method](this[attribute], cb(iteratee, this), defaultVal, context);
144 … if (callback !== void 0 && 'context' in opts && opts.context === void 0) opts.context = callback;
162 Events.on = function(name, callback, context) { argument
163 return internalOn(this, name, callback, context);
167 var internalOn = function(obj, name, callback, context, listening) { argument
169 context: context,
207 var context = options.context, ctx = options.ctx, listening = options.listening;
210 … handlers.push({callback: callback, context: context, ctx: context || ctx, listening: listening});
219 Events.off = function(name, callback, context) { argument
222 context: context,
254 var context = options.context, listeners = options.listeners;
257 if (!name && !callback && !context) {
282 context && context !== handler.context
308 Events.once = function(name, callback, context) { argument
311 if (typeof name === 'string' && context == null) callback = void 0;
312 return this.on(events, callback, context);
602 if (success) success.call(options.context, model, resp, options);
645 if (success) success.call(options.context, model, resp, options);
679 if (success) success.call(options.context, model, resp, options);
1064 if (success) success.call(options.context, collection, resp, options);
1084 if (success) success.call(callbackOpts.context, m, resp, callbackOpts);
1457 if (error) error.call(options.context, xhr, textStatus, errorThrown);
1940 if (error) error.call(options.context, model, resp, options);