Created
March 29, 2013 03:40
-
-
Save alex-seville/5268621 to your computer and use it in GitHub Desktop.
Using blanket without data-cover attribute
This file contains hidden or 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
Option 1. | |
If you have access to the blanket script tag | |
<script data-cover-filter="src/" src="blanket.js"></script> | |
Option 2. | |
Create a new script block and set the blanket options manually | |
<script src="blanket.js"></script> | |
<script> | |
blanket.options("filter","src/"); | |
</script> | |
NOTE: Both examples assume source files are in /src. You can provide a string, array or regex to the filter option. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment