Skip to content

Instantly share code, notes, and snippets.

@orient-man
Created January 15, 2013 15:15
Show Gist options
  • Save orient-man/4539327 to your computer and use it in GitHub Desktop.
Save orient-man/4539327 to your computer and use it in GitHub Desktop.
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