CreateJS/TweenJS — pull request #8 by lemieuxster (2012-04-23 23:58:15+00:00)
Title: Fixes Reference Error caused by minification

When EaselJS is not included on the page, the minified TweenJS code still references Ticker in a way that causes a Reference Error to be thrown:

ReferenceError: Ticker is not defined

Realizing that the preferred case is to use EaselJS (or at least the Ticker part of it) this is hardly a large issue, but it does make the minified TweenJS (including the cdn hosted file) unable to load on its own.

This fix looks for the Ticker object on window, causing a null object to be returned instead of a reference error.

Again, this was only an issue in the minified code.