Hi! I've got a strange error in al my browsers (chrome, safari, firefox) when loading a page I'm developing.
The error says the following
Uncaught SyntaxError: Unexpected token ILLEGAL
And the line where is giving me the error is the last one of the following code...
ajaxSettings:{
url:bW,
isLocal:bK.test(bX[1]),
global:!0,
type:"GET",
contentType:"application/x-www-form-urlencoded",
processData:!0,
async:!0,
accepts:{
xml:"application/xml, text/xml",
html:"text/html",
text:"text/plain",
json:"application/json, text/javascript",
"*":"*/*" //<----Error here!!!!
},
It seems that it's interpreting that "/*" as a beging of a comment, so it does not loads correctly the entire script from there on. I've tried to remove that line, but it happens the same in another line afterwards.
I've tried this in a local server in my mac, but it works ok, so I don't understand why my browsers are going mad in the hosting server. It seems that I'm the only one who has this error, because some friends have tried, and it just works ok for them, so I'm starting to think that it has to be something about my browsers...
Any idea please?
Thank you in advance!