mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
Update SourceURL to work better
This commit is contained in:
parent
e83bf7dc07
commit
788b66e4a3
4 changed files with 18 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue