ghost_in_the_post 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ghost_in_the_post/phantom/staticize.js +7 -6
- data/lib/ghost_in_the_post/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52affd45a9ba53955a5d64508af2c2d4c2a6b070
|
4
|
+
data.tar.gz: 111cf6580e29585c5f57dd93581dc60ac6fc21d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f05addd81378a725bc0fd3a46bbb94c6f4381ba4adae4ba7e09177dbad46ac122735a93b0b0347dcfcd572d06407dffe5db078037d77b2340a437adf6b32f9db
|
7
|
+
data.tar.gz: 4955169572411927977258962ace862167f58676b5fe4cb8a62b922b327d9d34b4fc610d86d0a17b62689ef4cb229dda67a5628733a8d7ae09e37cad517ba2a1
|
@@ -15,12 +15,13 @@ function finish(){
|
|
15
15
|
phantom.exit();
|
16
16
|
}
|
17
17
|
|
18
|
-
|
19
|
-
|
20
|
-
console.log(
|
21
|
-
console.log('
|
22
|
-
|
23
|
-
|
18
|
+
//commented out because stuff like stylesheets and images will fail in situations where they shouldnt
|
19
|
+
//page.onResourceError = function(resourceError) {
|
20
|
+
//console.log(error_tag);
|
21
|
+
//console.log('Unable to load resource (#' + resourceError.id + 'URL:' + resourceError.url + ')');
|
22
|
+
//console.log('Error code: ' + resourceError.errorCode + '. Description: ' + resourceError.errorString);
|
23
|
+
//phantom.exit();
|
24
|
+
//};
|
24
25
|
|
25
26
|
page.onError = function(msg, trace) {
|
26
27
|
console.log(error_tag);
|