Correct some missing spots for frozen_string_literal
This commit is contained in:
parent
30990006a9
commit
982c4496ee
|
@ -53,6 +53,6 @@ if Rails.env == "development"
|
|||
end
|
||||
end
|
||||
|
||||
Sprockets.register_bundle_metadata_reducer 'application/javascript', :data, proc { "" }, ::SprocketHack.method(:concat_javascript_sources)
|
||||
Sprockets.register_bundle_metadata_reducer 'application/javascript', :data, proc { +"" }, ::SprocketHack.method(:concat_javascript_sources)
|
||||
|
||||
end
|
||||
|
|
|
@ -16,7 +16,7 @@ class SourceURL < Tilt::Template
|
|||
end
|
||||
|
||||
def evaluate(scope, locals, &block)
|
||||
code = "eval("
|
||||
code = +"eval("
|
||||
code << data.inspect
|
||||
code << " + \"\\n//# sourceURL=#{scope.logical_path}\""
|
||||
code << ");\n"
|
||||
|
|
Loading…
Reference in New Issue