get() now returns a Node.Array array which has node methods. This means that you can do stuff like layer.get('.shape').setX(300)

This commit is contained in:
ericdrowell
2012-09-22 21:27:44 -07:00
parent b56bd6618a
commit 8d6103d1e0
6 changed files with 118 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
#Building the KineticJS library
To build the library, you need to have Ruby and Rubygems installed. After that, run `gem install thor` and `gem install json_pure` to install the dependencies.
To build the library, you need to have Ruby and Rubygems installed. After that, run `gem install thor`, `gem install json_pure`, and `gem install uglifier` to install the dependencies.
To build a development version of the library, run `thor build:dev VERSION`, where VERSION is a string that can be anything you like. For example, using `thor build:dev core` will produce `kinetic-core.js`. To build a minified version of the library, run `thor build:prod VERSION`. If you want to add a release date other than the current day, use `-d="DATE"` (e.g. `-d="Mar 07 2012"`).