Not sure if you've seen this one before, but had a weird issue today working on a project with a colleague. We had the same code and his set up was fine, but for me I was seeing errors in the JavaScript console for DAMP.
In Chrome: Unexpected token ILLEGAL
In Firefox: Unterminated string literal.
The issue was in DAMPScript.js and investigation took me here.
From that I changed the source file, line 23 from this:
+ "</script></head><body></body></html>";
To this:
+ "<\/script><\/head><body><\/body></html>";
Seems to have resolved the issue so posting here in case useful to update the source.
Intermittent JavaScript editor
Not sure if you've seen this one before, but had a weird issue today working on a project with a colleague. We had the same code and his set up was fine, but for me I was seeing errors in the JavaScript console for DAMP.
In Chrome: Unexpected token ILLEGAL
In Firefox: Unterminated string literal.
The issue was in DAMPScript.js and investigation took me here.
From that I changed the source file, line 23 from this:
To this:
Seems to have resolved the issue so posting here in case useful to update the source.
Andy
Hello,
What version of DAMP are you using? It should be fixed in DAMP 2.7 and is related to using the Visual Studio Browser Link. More info here: http://our.umbraco.org/projects/backoffice-extensions/digibiz-advanced-media-picker/digibiz-advanced-media-picker/46093-Visual-Studio-Browser-Link-breaks-DAMP
Jeroen
Thanks Jeroen - always one step ahead!
That explains it (my colleague has VS.Net 2012 - so no browserlink - and I've got 2013). And we're on 2.6.
Andy
is working on a reply...