mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:21:04 +08:00
Update SourceURL to work better
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user