You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
// Insanity Warning: scope depth-first traversal
// yes, this code is a bit crazy, but it works and we have tests to prove it!
// this piece should be kept in sync with the traversal in $digest
// (though it differs due to having the extra check for $$listenerCount)
if (!(next = ((current.$$listenerCount[name] && current.$$childHead) ||
(current !== target && current.$$nextSibling)))) {
while (current !== target && !(next = current.$$nextSibling)) { //<<<----- current null?
current = current.$parent;
}
}
}
Under certain circumstances (that I don't yet understand), current is null. Checking for null in the loop gets rid of the error. It may be related to load. I suspect something else bad is happening that is causing this. Apologies for the lack of detail/reproducibility.
I am using Ionic but 1.3.13 of angular.