Browse Source

tick version v1.5.26

+ update ©️ 2014
+ minify with uglify-js (uglifyjs 2)
pull/616/head v1.5.26
David DeSandro 11 years ago
parent
commit
9a6627859c
  1. 2
      README.mdown
  2. 4
      jquery.isotope.js
  3. 6
      jquery.isotope.min.js
  4. 10
      minify.sh

2
README.mdown

@ -61,4 +61,4 @@ View the [commit history](https://github.com/desandro/isotope/commits/master/jqu
* * * * * *
Copyright (c) 2011-2012 David DeSandro / Metafizzy LLC Copyright (c) 2011-2014 David DeSandro / Metafizzy LLC

4
jquery.isotope.js

@ -1,5 +1,5 @@
/** /**
* Isotope v1.5.25 * Isotope v1.5.26
* An exquisite jQuery plugin for magical layouts * An exquisite jQuery plugin for magical layouts
* http://isotope.metafizzy.co * http://isotope.metafizzy.co
* *
@ -8,7 +8,7 @@
* *
* Non-commercial use is licensed under the MIT License * Non-commercial use is licensed under the MIT License
* *
* Copyright 2013 Metafizzy * Copyright 2014 Metafizzy
*/ */
/*jshint asi: true, browser: true, curly: true, eqeqeq: true, forin: false, immed: false, newcap: true, noempty: true, strict: true, undef: true */ /*jshint asi: true, browser: true, curly: true, eqeqeq: true, forin: false, immed: false, newcap: true, noempty: true, strict: true, undef: true */

6
jquery.isotope.min.js vendored

File diff suppressed because one or more lines are too long

10
minify.sh

@ -1,15 +1,9 @@
#!/bin/bash #!/bin/bash
# minifies jquery.isotope.js # minifies jquery.isotope.js
# requires nodejs & uglifyjs # requires nodejs & uglify-js
IN=jquery.isotope.js IN=jquery.isotope.js
OUT=jquery.isotope.min.js OUT=jquery.isotope.min.js
# remove any lines that begin with /*jshint or /*global uglifyjs $IN --compress conditionals=true --mangle --comments --output $OUT
# then, minify with Uglify JS
# then, add newline characters after `*/`, but not last newline character
awk '!/^\/\*[jshint|global]/' $IN \
| uglifyjs \
| awk '{ORS=""; gsub(/\*\//,"*/\n"); if (NR!=1) print "\n"; print;}' > $OUT
echo "Minified" $IN "as" $OUT

Loading…
Cancel
Save