Add legacy build info to README.md and rebuild minified file and documentation.

Former-commit-id: 83560976f173a3c797128b08fb184cc7c1e77319
This commit is contained in:
John-David Dalton
2012-07-10 01:27:07 -04:00
parent 329c7e8e05
commit 3b37d7489f
3 changed files with 145 additions and 140 deletions

View File

@@ -53,6 +53,11 @@ We handle all the method dependency and alias mapping for you.
* Backbone builds, containing all methods required by Backbone, may be created using the `backbone` modifier argument.
~~~ bash
node build backbone
~~~
* Legacy builds, tailored for older browsers without [ES5 support](http://es5.github.com/), may be created using the `legacy` modifier argument.
~~~ bash
node build legacy
~~~
* Mobile builds, with IE bug fixes and method compilation removed, may be created using the `mobile` modifier argument.
@@ -81,11 +86,11 @@ node build exclude=union,uniq,zip
node build exclude="union, uniq, zip"
~~~
All arguments, except `include` and `exlcude`, may be combined.
All arguments, except `include` with `exclude` and `mobile` with `legacy`, may be combined.
~~~ bash
node build backbone mobile category=functions include=pick,uniq
node build backbone mobile category=utilities exclude=first,last
node build backbone legacy category=utilities exclude=first,last
~~~
Custom builds are saved to `lodash.custom.js` and `lodash.custom.min.js`.