scoping issues while loading external scripts?
-
Sander Sõnajalg
woww... why is the copypasted output so messy.. unix line feeds? maybe that's better..?
[jsvalidate] -- running Main#processFileSecure [jsvalidate] ====== LOADING embedded script with pageTracker def [jsvalidate] ====== FINISHED FIRST [jsvalidate] WARNING!! msg : Reference to undefined property "interval" (at line 0) [jsvalidate] WARNING!! msg : Reference to undefined property "nodeType" (at line 2074) [jsvalidate] WARNING!! msg : Reference to undefined property "nodeType" (at line 2074) [jsvalidate] WARNING!! msg : Reference to undefined property "nodeType" (at line 2074) [jsvalidate] WARNING!! msg : Reference to undefined property "nodeType" (at line 2074) [jsvalidate] WARNING!! msg : Reference to undefined property "type" (at line 5839) [jsvalidate] WARNING!! msg : Reference to undefined property "type" (at line 5839) [jsvalidate] INFO: [Wed Dec 16 2009 18:10:50 GMT+0200 (EET)] {ENVJS} loading allowed external script :Visitestonia.com_files/search_est.js [jsvalidate] -- running Main#processFileSecure [jsvalidate] ====== LOADING search_est.js [jsvalidate] ERROR: uncaught JavaScript runtime exception: ReferenceError: "pageTracker" is not defined. (at line 0) [jsvalidate] js: uncaught JavaScript runtime exception: ReferenceError: "pageTracker" is not defined.
-
Sander Sõnajalg
as an attachment?
-
Thatcher
- Milestone set to 1.2.x
- State changed from new to open
- Assigned user set to Thatcher
I'm checking into this. This is a great test case. Thanks for the submission!
Thatcher
-
Thatcher
- State changed from open to resolved
- Tag set to inline, script, type
this was fixed in http://github.com/thatcher/env-js/commit/f39ab7c539af81cecc41ef8cc6...
sorry for the delay we where in the middle of a huge refactor
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
