Created
January 15, 2013 15:15
-
-
Save orient-man/4539327 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: blanket.js | |
=================================================================== | |
--- blanket.js (wersja 21811) | |
+++ blanket.js (wersja 21812) | |
@@ -4442,7 +4442,10 @@ | |
}).length === 1; | |
}); | |
}else{ | |
- selectedScripts = toArray.call(document.querySelectorAll("script[data-cover]")); | |
+ // orientman: disable if run locally | |
+ if (window.location.protocol !== "file:") { | |
+ selectedScripts = toArray.call(document.querySelectorAll("script[data-cover]")); | |
+ } | |
} | |
scriptNames = selectedScripts.map(function(s){ | |
return _blanket.utils.qualifyURL( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment