diff --git a/README.mdown b/README.mdown index 560afbe..c737a33 100644 --- a/README.mdown +++ b/README.mdown @@ -31,6 +31,28 @@ jekyll --server --auto Then view the live site at [http://localhost:4000](http://localhost:4000). +## Including Isotope as a submodule + +The _module_ branch has just `jquery.isotope.js` and `jquery.isotope.min.js`, perfect for adding to your repo as a [submodule](http://dropshado.ws/post/20058825150/git-submodules). + +``` bash +git submodule add https://github.com/desandro/isotope.git +cd isotope/ +git checkout module +git pull origin module +cd ../ +git submodule update --init +``` + +Then you can reference `isotope/jquery.isotope.min.js` within your own project. + +To pull in the lastest version of the isotope submodule: + +``` bash +cd isotope/ +git pull origin module +``` + ## Changelog View the [commit history](https://github.com/desandro/isotope/commits/master/jquery.isotope.js) for a complete robust list of changes to the script. @@ -53,4 +75,4 @@ View the [commit history](https://github.com/desandro/isotope/commits/master/jqu * * * -Copyright (c) 2011-2012 David DeSandro / Metafizzy LLC \ No newline at end of file +Copyright (c) 2011-2012 David DeSandro / Metafizzy LLC