ericdrowell/KineticJS — pull request #47 by michaelgilley (2012-07-09 20:25:18+00:00)
Title: AMD Support

Eric,

I added support for AMD such as RequireJS, which I use anyway. Without this developers have to go out of their way to shim the library with AMD tools. Also, you'll notice that I wrapped the entire library so to protect the global namespace when using AMD solutions.

I wasn't sure where to place the wrappers since license is in the root so I stuck them in src/Intro and src/Outro.

Lastly, I added the version string to the Kinetic Object itself, which is also helpful for dependency management when you'd rather not change file names on each version update.

Thanks!