I''m working with a situation that is specific to IE 6/7 where I
receive a JavaScript error when the Prototype __method.apply function
is invoked.
Here''s the error location and call stack a la Nikhil''s Web
Development
helper...
Microsoft JScript compilation error
Syntax error
Error Location and Callstack:
at
http://mgs.mgs.com:8810/martin/mwsbeta/lib/jscript/thirdparty/prototype/v-1.6.0.2/prototype.js
[622]
JScript anonymous function
code: }
at
http://mgs.mgs.com:8810/martin/mwsbeta/lib/jscript/thirdparty/prototype/v-1.6.0.2/prototype.js
[659]
JScript anonymous function
code: this.each(function(value, index) {
results.push(iterator(value, index));
})
at
http://mgs.mgs.com:8810/martin/mwsbeta/lib/jscript/thirdparty/prototype/v-1.6.0.2/prototype.js
[419]
JScript anonymous function
code: return this.extractScripts().map(function(script) { return
eval(script) })
at
http://mgs.mgs.com:8810/martin/mwsbeta/lib/jscript/thirdparty/prototype/v-1.6.0.2/prototype.js
[234]
JScript anonymous function
code: return __method.apply(object, args.concat($A(arguments)))
at
http://mgs.mgs.com:8810/martin/mwsbeta/lib/jscript/thirdparty/prototype/v-1.6.0.2/prototype.js
[256]
JScript anonymous function
code: return __method.apply(__method, args)
Debugging IE 6/7 JavaScript errors is a bit little trying to bath a
cat... =( Even with tools like Nikhil''s Web Development Helper,
it''s
still an inordinate challenge...nothing like Firefox and Firebug...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---