Skip to content

Instantly share code, notes, and snippets.

@alex-seville
Created March 29, 2013 03:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alex-seville/5268621 to your computer and use it in GitHub Desktop.
Save alex-seville/5268621 to your computer and use it in GitHub Desktop.
Using blanket without data-cover attribute
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