try debugging "undefined watched global"
This commit is contained in:
parent
50de5c85d5
commit
028c7645fc
4
assets/javascripts/vendor/ember.js
vendored
4
assets/javascripts/vendor/ember.js
vendored
|
@ -2128,6 +2128,10 @@ function flushPendingChains() {
|
|||
forEach.call(queue, function(q) { q[0].add(q[1]); });
|
||||
|
||||
Ember.warn('Watching an undefined global, Ember expects watched globals to be setup by the time the run loop is flushed, check for typos', pendingQueue.length === 0);
|
||||
|
||||
if(pendingQueue.length > 0) {
|
||||
console.log(pendingQueue)
|
||||
}
|
||||
}
|
||||
|
||||
/** @private */
|
||||
|
|
|
@ -4082,6 +4082,10 @@ function flushPendingChains() {
|
|||
forEach.call(queue, function(q) { q[0].add(q[1]); });
|
||||
|
||||
Ember.warn('Watching an undefined global, Ember expects watched globals to be setup by the time the run loop is flushed, check for typos', pendingQueue.length === 0);
|
||||
|
||||
if(pendingQueue.length > 0) {
|
||||
console.log(pendingQueue)
|
||||
}
|
||||
}
|
||||
|
||||
/** @private */
|
||||
|
|
Loading…
Reference in New Issue
Block a user