coffee-rails-source-maps 1.3.4 → 1.3.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -44,7 +44,7 @@ if Rails.env.development?
|
|
44
44
|
coffee_file.open('w') {|f| f.puts script }
|
45
45
|
map_file.open('w') {|f| f.puts ret["v3SourceMap"]}
|
46
46
|
|
47
|
-
comment = "//@ sourceMappingURL=/#{
|
47
|
+
comment = "//@ sourceMappingURL=/#{map_file.relative_path_from(Rails.root.join("public"))}\n"
|
48
48
|
return ret['js'] + comment
|
49
49
|
end
|
50
50
|
|
@@ -65,5 +65,4 @@ if Rails.env.development?
|
|
65
65
|
end
|
66
66
|
end
|
67
67
|
|
68
|
-
end
|
69
|
-
|
68
|
+
end
|