FIX: sourceMappingURL in IE10
This commit is contained in:
parent
dd91d5b02f
commit
01ebe9ce69
|
@ -5,10 +5,10 @@ class SourceURL < Tilt::Template
|
||||||
end
|
end
|
||||||
|
|
||||||
def evaluate(scope, locals, &block)
|
def evaluate(scope, locals, &block)
|
||||||
code = ''
|
code = ""
|
||||||
code << 'eval('
|
code << "eval("
|
||||||
code << data.inspect
|
code << data.inspect
|
||||||
code << " + \"\\n//@ sourceURL=/#{scope.logical_path}\""
|
code << " + \"\\n//@ sourceURL=/'#{scope.logical_path}'\""
|
||||||
code << ");\n"
|
code << ");\n"
|
||||||
code
|
code
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue