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
I found this when loading a script by inserting a DOM script node, and the script URL gives a 404.
Here's the relevant part of the stack trace:
Exception: TypeError: debug is not a function
/opt/local/lib/ruby/gems/1.8/gems/envjs-0.3.7/lib/envjs/env.js:148 ("could not load script http://localhost/core/javascripts/script-loader-badfile.js: 404 Not Found","...
/opt/local/lib/ruby/gems/1.8/gems/envjs-0.3.7/lib/envjs/env.js:693 ("could not load script http://localhost/core/javascripts/script-loader-badfile.js: 404 Not Found")
/opt/local/lib/ruby/gems/1.8/gems/envjs-0.3.7/lib/envjs/env.js:816 ([object Object],null)
The reason is that $env.log() calls debug() not print()
The text was updated successfully, but these errors were encountered:
I found this when loading a script by inserting a DOM script node, and the script URL gives a 404.
Here's the relevant part of the stack trace:
The reason is that
$env.log()
callsdebug()
notprint()
The text was updated successfully, but these errors were encountered: