Skip to content

Commit 9a66278

Browse files
committed
tick version v1.5.26
+ update ©️ 2014 + minify with uglify-js (uglifyjs 2)
1 parent 8b7e681 commit 9a66278

File tree

4 files changed

+8
-14
lines changed

4 files changed

+8
-14
lines changed

README.mdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ View the [commit history](https://github.com/desandro/isotope/commits/master/jqu
6161

6262
* * *
6363

64-
Copyright (c) 2011-2012 David DeSandro / Metafizzy LLC
64+
Copyright (c) 2011-2014 David DeSandro / Metafizzy LLC

jquery.isotope.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Isotope v1.5.25
2+
* Isotope v1.5.26
33
* An exquisite jQuery plugin for magical layouts
44
* http://isotope.metafizzy.co
55
*
@@ -8,7 +8,7 @@
88
*
99
* Non-commercial use is licensed under the MIT License
1010
*
11-
* Copyright 2013 Metafizzy
11+
* Copyright 2014 Metafizzy
1212
*/
1313

1414
/*jshint asi: true, browser: true, curly: true, eqeqeq: true, forin: false, immed: false, newcap: true, noempty: true, strict: true, undef: true */

jquery.isotope.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

minify.sh

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
#!/bin/bash
22

33
# minifies jquery.isotope.js
4-
# requires nodejs & uglifyjs
4+
# requires nodejs & uglify-js
55

66
IN=jquery.isotope.js
77
OUT=jquery.isotope.min.js
88

9-
# remove any lines that begin with /*jshint or /*global
10-
# then, minify with Uglify JS
11-
# then, add newline characters after `*/`, but not last newline character
12-
awk '!/^\/\*[jshint|global]/' $IN \
13-
| uglifyjs \
14-
| awk '{ORS=""; gsub(/\*\//,"*/\n"); if (NR!=1) print "\n"; print;}' > $OUT
15-
echo "Minified" $IN "as" $OUT
9+
uglifyjs $IN --compress conditionals=true --mangle --comments --output $OUT

0 commit comments

Comments
 (0)