I get this error in the context described in my other mail:
http://groups.google.com/group/rubyonrails-spinoffs/tree/browse_frm/thread/a1a8d47138864ee9/a600da91846fbd62?rnum=1&hl=en&_done=%2Fgroup%2Frubyonrails-spinoffs%2Fbrowse_frm%2Fthread%2Fa1a8d47138864ee9%3Fhl%3Den%26#doc_a600da91846fbd62
I''m just using what appears to be the standard Rails 1.2 approach.
I have no idea what custom code does in Prototype.js and I am not
aware that I am using custom code. I think this is Prototype trying
to parse incoming Ajax responses from rails where the responses
themselves contain html code that in turn contains more javascript -
hence all the escaping.
If I am replacing a set of draggables with different draggables via
ajax then it has to go something like this no?
CHEERS> SAM
On Aug 2, 3:11 pm, Christophe Porteneuve
<t...-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org>
wrote:> Hey!
>
> tansakua écrit :
>
> > illegal character[
> >http://localhost:3000/javascripts/prototype.js?1186008779]
>
> 1) What in blazes does custom code do in prototype.js?
>
> > \n//<![CDATA[\nnew Draggable(\"context_41\",
{ghosting:true,
> > revert:true})\n//]]>\n
>
> 2) What are those ''\n'' sequences doing in JS, outside
string literals?
> 3) Why is there a <![CDATA[ block in a non -XHTML file?
> 4) Why are the quotes escaped outside a string literal?
>
> > I can''t see any illegal characters. Any guesses?
>
> I can''t see a single thing that makes sense. Perhaps you could
provide
> more code context?
>
> --
> Christophe Porteneuve a.k.a. TDD
> "[They] did not know it was impossible, so they did it." --Mark
Twain
> Email: t...-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---