mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Make Deps not require Meteor again
This commit is contained in:
@@ -46,7 +46,7 @@ var _throwOrLog = function (from, e) {
|
||||
// where `_noYieldsAllowed` is a no-op. `f` may be a computation
|
||||
// function or an onInvalidate callback.
|
||||
var callWithNoYieldsAllowed = function (f, comp) {
|
||||
if (Meteor.isClient) {
|
||||
if ((typeof Meteor === 'undefined') || Meteor.isClient) {
|
||||
f(comp);
|
||||
} else {
|
||||
Meteor._noYieldsAllowed(function () {
|
||||
|
||||
Reference in New Issue
Block a user