I have mistakenly left in my code an uncommented url:
function theFunction()
{
// do something.
}
Fortunately, everything went fine:
* The ugly part, with many undeclared identifiers, was commented out
by the //.
* http: was interpreted as something, strange.
Actually, it may have something to do with the syntax with which object
literals can be declared in javascript, but I can't understand why. It
seems that I can prefix most, if not all, lines of code, with any
prefix, followed by a colon, without any noticeable effect.
Any insight on this welcome; anyway, this had to be shared :-)
Alexis
--
somedomain is free.
function theFunction()
{
// do something.
}
Fortunately, everything went fine:
* The ugly part, with many undeclared identifiers, was commented out
by the //.
* http: was interpreted as something, strange.
Actually, it may have something to do with the syntax with which object
literals can be declared in javascript, but I can't understand why. It
seems that I can prefix most, if not all, lines of code, with any
prefix, followed by a colon, without any noticeable effect.
Any insight on this welcome; anyway, this had to be shared :-)
Alexis
--
somedomain is free.
Comment