CreateJS / TweenJS

A simple but powerful tweening / animation library for Javascript. Part of the CreateJS suite of libraries.
http://createjs.com/
MIT License
3.56k stars 967 forks source link

CSSPlugin missing from source #90

Closed gmattie closed 7 years ago

gmattie commented 7 years ago

Neither the v0.6.2 combined nor minified source code for TweenJS contain a reference to a CSSPlugin. According to the documentation the CSSPlugin should be installed just like the MotionGuidePlugin, which is present in v0.6.2:

createjs.CSSPlugin.install(); //fails createjs.MotionGuidePlugin.install(); //succeeds

Since the CSSPlugin object is undefined it can not be installed.

lannymcnie commented 7 years ago

This is by design. The CSSPlugin is more of an example usage, and only has basic CSS capabilities.

From the docs:

Please note that the CSS Plugin is not included in the TweenJS minified file.

You need to include the CSSPlugin from GitHub yourself to use it.

Cheers,