diff options
author | Mottie <wowmotty@gmail.com> | 2015-08-23 02:22:14 +0300 |
---|---|---|
committer | Mottie <wowmotty@gmail.com> | 2015-08-24 19:05:21 +0300 |
commit | 499adbd59e8958c1596b7ae60d410a733de7650a (patch) | |
tree | 61c3b3564215d6db01ce6b013b6878dc343c2d45 /printliminator.png | |
parent | d12145f26c63d37fd029bdb80a2cf0a539c3c8df (diff) |
Add grunt build process:
1) The "src/bookmarklet.js" file contains the uncompressed bookmarklet code.
2) In the build process, that file is minified & added into the "src/index.html"
file in two places:
a) The actual link href (default link).
b) development bookmarklet link (inside js code which updates the link).
3) A new "index.html" and minified "printliminator.min.js" file are written
to the root folder.
4) When the "index.html" in the root folder is loaded in the browser, and the
js detects the origin is "file://", then the links in the "index.html" file
get changed and to point to local files to make it easier for development.
Diffstat (limited to 'printliminator.png')
-rw-r--r-- | printliminator.png | bin | 0 -> 9840 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/printliminator.png b/printliminator.png Binary files differnew file mode 100644 index 0000000..d117275 --- /dev/null +++ b/printliminator.png |