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
Line 77 in the $.Range constructor is problematic if you've included jquerypp in and there's no DOM yet.
B/c this.win.document.body is null, this.range doesn't get assigned.
If this.range doesn't get assigned, the module setup (anonymous) function chokes at line 642 ( ... fn.compare = range.compareBoundaryPoints ? ...) and bails w/ an exception.
This is especially dangerous if you, like me, happen to have range.js concatenated w/ a bunch of other files (and minified) - those other files' initialization may not run b/c of the exception.
The text was updated successfully, but these errors were encountered:
Line 77 in the
$.Range
constructor is problematic if you've included jquerypp in and there's no DOM yet.B/c
this.win.document.body
is null,this.range
doesn't get assigned.If this.range doesn't get assigned, the module setup (anonymous) function chokes at line 642 ( ...
fn.compare = range.compareBoundaryPoints ?
...) and bails w/ an exception.This is especially dangerous if you, like me, happen to have range.js concatenated w/ a bunch of other files (and minified) - those other files' initialization may not run b/c of the exception.
The text was updated successfully, but these errors were encountered: