-
-
Save thoroc/5c96845b7184c9f3d83c to your computer and use it in GitHub Desktop.
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
| <script src="jszip.min.js"></script> | |
| <script src="FileSaver.min.js"></script> | |
| <script src="https://raw.githubusercontent.com/Stuk/jszip/master/dist/jszip.min.js"></script> | |
| <script src="https://raw.githubusercontent.com/eligrey/FileSaver.js/master/FileSaver.min.js"></script> | |
| (function (main, modules) { | |
| 'use strict'; | |
| var zip = new JSZip(); | |
| for (var property in modules) { | |
| if (modules.hasOwnProperty(property)) { | |
| zip.file(property, modules[property].toString()); | |
| } | |
| } | |
| var content = zip.generate({type : "blob"}); | |
| saveAs(content, "dump.zip"); | |
| } | |
| <script> | |
| // Concatenated script to dump goes here | |
| </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment