From 01ebe9ce690de2dc583f6dcd3016dcd28821b5ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Tue, 19 May 2015 10:33:57 +0200 Subject: [PATCH] FIX: sourceMappingURL in IE10 --- lib/source_url.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/source_url.rb b/lib/source_url.rb index a5b79ae6afe..9c7a49941d7 100644 --- a/lib/source_url.rb +++ b/lib/source_url.rb @@ -5,10 +5,10 @@ class SourceURL < Tilt::Template end def evaluate(scope, locals, &block) - code = '' - code << 'eval(' + code = "" + code << "eval(" code << data.inspect - code << " + \"\\n//@ sourceURL=/#{scope.logical_path}\"" + code << " + \"\\n//@ sourceURL=/'#{scope.logical_path}'\"" code << ");\n" code end