Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (21 sloc) 0.958 kb

Packaging

To install from this source tree:

make dev

To make all packages

make all
make install

Testing the latest YUI release with Node

I've tried to make it simple to test the latest YUI source code against my nodejs package. First you need to install yuitest:

npm install yuitest

Now, go into your clone of the yui3 source tree and npm install it:

cd /path/to/yui3
npm install .

Now you can test this code:

yuitest ./tests/*.js

Currently there are over 100 tests that should pass 100% if your YUI3 code works ;)

Developing

If you are patching YUI core or working with Dom/Event/Node code, you really need to check to make sure that your code doesn't contain things that will break on the server. Each time you do a build, you should also follow the steps above to npm install then yuitest ./tests/*.js to make sure you didn't introduce a change that will break when your code is executed on the server.

Jump to Line
Something went wrong with that request. Please try again.