sprockets-illusionist 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b890de78eaa86da0b7f031887fff6b1e78be55c
|
4
|
+
data.tar.gz: c2111b0d57f98d8df6baa28519ef5d8d87591fbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aeb65ad3c1439c36b2cb8d95593dbb2421691dbafd3470d8c639ccd7825e7623371f62384b2bf5e25bd4767e8c44398612ae8b1d128d7181a15ea1ea159d4968
|
7
|
+
data.tar.gz: f64c7eb4f93583ecb303a429b18bc636990139675b7de6a058b0a1a697044f815f944673f8fa3ad0f0d09a9f4229c4acfa970ed9345fd75d6bee20c25dae8c55
|
@@ -54,9 +54,9 @@ module SprocketsIllusionist
|
|
54
54
|
end
|
55
55
|
|
56
56
|
def render_error(error)
|
57
|
-
error = error.
|
57
|
+
error = error.split("\n")[1].gsub('"', '\\"')
|
58
58
|
"// The file could not be compiled into JavaScript
|
59
|
-
document.getElementsByTagName('body')[0].innerHTML = \"<pre>#{error}</pre>\";"
|
59
|
+
document.getElementsByTagName('body')[0].innerHTML = \"<pre>#{file}<br />#{error}</pre>\";"
|
60
60
|
end
|
61
61
|
end
|
62
62
|
end
|