Using double-quotes seems to be the accepted HTML standard, so using
single quotes in JavaScript more easily allows for things like:

$('blah').update('<a href="xyz">huhu</a>')

So, it can help minimize the effort for escaping strings (and therefore possibly
having less bugs and also less lost time). :)

-Thomas

Am 15.07.2006 um 14:57 schrieb Martin Ström:


I'll convert to single quotes in the bundle asap as this seems to be
the standard


What, exactly, do you mean by "Since no quotes are parsed in
JavaScript there aren't any difference."?  There may be places where

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to