You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Devs find it helpful. I do this in the dev builds of my implementation. I remove them from the minified build. Chrome has supported sourceURLs in Function for a long time now. I believe Firefox used to only support it in eval, when it used an @ instead of an #, so yay Firefox 36 for joining the Function sourceURL party.
Some have also found it useful to be able to set the sourceURL via a template option, {sourceURL: ...}, too.
I find it useful to have them in the sources view for a quick at-a-glance to make sure logic is right without having to instrument the code, even in the absence of a thrown error. Having the sourceURL configurable also allows organizing template sources which is nice.
Could this be helpful?
http://fitzgeraldnick.com/weblog/59/
The text was updated successfully, but these errors were encountered: