mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Improve Deps performance by not using _.bind
This commit is contained in:
@@ -310,7 +310,7 @@ _.extend(Deps, {
|
||||
|
||||
constructingComputation = true;
|
||||
var c = new Deps.Computation(function (c) {
|
||||
Meteor._noYieldsAllowed(_.bind(f, this, c));
|
||||
Meteor._noYieldsAllowed(function () { f(c); });
|
||||
}, Deps.currentComputation);
|
||||
|
||||
if (Deps.active)
|
||||
|
||||
Reference in New Issue
Block a user