Update SourceURL to work better

This commit is contained in:
Robin Ward
2015-04-16 16:44:24 -04:00
parent e83bf7dc07
commit 788b66e4a3
4 changed files with 18 additions and 3 deletions

View File

@ -127,7 +127,6 @@ module Tilt
req_path = "/assets/#{scope.logical_path}.#{extension}"
@output << "\nwindow.__jshintSrc = window.__jshintSrc || {}; window.__jshintSrc['#{req_path}'] = #{data.to_json};\n"
@output << "\n//@ sourceURL=/#{scope.logical_path}\n"
end
@output