This line:
if(Debug===true){console.log('No jquery detected on host site, loading own jquery');}
Is breaking my script in a nokia windows phone, if I set that variable to false, everything works nicely, but if set to true the script stops. I tried also putting an alert instead of that console.log but same stop behaviour.
Anybody knows or suspects something about the reason of such behaviour?
EDIT
Tks for all the replies, the fact is that if I take out the entire console.log line and inside the if for example I leave it empty or i put a simple var declaration same stop behaviour remains, It makes me suspect is more related with the if statement than with the console object
2nd EDIT
As you all said is a fact, the console.log breaks it, I had a hidden one, found it and now works, so no relation to the if instead all the fault from the console object, tkyou all