Skip to content

Commit

Permalink
More renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Lakhno committed Aug 23, 2014
1 parent 5f7e8a4 commit b33d004
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
tests/instantclick.js
instantclick.min.js
trueinstantclick.min.js
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ With this, TrueInstantClick is up to 50% smaller than InstantClick, has better p

Add this line before ``</body>`` tag:

<script src="instantclick.js"></script>
<script src="trueinstantclick.js"></script>

and enjoy.

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "TrueInstantClick makes following links in your website instant.",
"version": "4.0.1",
"main": [
"./instantclick.js"
"./trueinstantclick.js"
],
"license": "MIT",
"keywords": [
Expand Down
12 changes: 6 additions & 6 deletions makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
all:
@head -1 instantclick.js > min.head.js
@curl --silent --data "output_info=compiled_code" --data-urlencode "js_code@instantclick.js" "http://closure-compiler.appspot.com/compile" -o min.code.js
@cat min.head.js min.code.js > instantclick.min.js
@head -1 trueinstantclick.js > min.head.js
@curl --silent --data "output_info=compiled_code" --data-urlencode "js_code@trueinstantclick.js" "http://closure-compiler.appspot.com/compile" -o min.code.js
@cat min.head.js min.code.js > trueinstantclick.min.js
@rm min.head.js min.code.js
@gzip instantclick.min.js
@du -b instantclick.js instantclick.min.js.gz
@gunzip instantclick.min.js.gz
@gzip trueinstantclick.min.js
@du -b trueinstantclick.js trueinstantclick.min.js.gz
@gunzip trueinstantclick.min.js.gz

clean:
@rm instantclick.min.js
File renamed without changes.

0 comments on commit b33d004

Please sign in to comment.