Skip to content

Commit

Permalink
1.12.0
Browse files Browse the repository at this point in the history
- Added lagSmoothing() feature that automatically heals from CPU spikes.

- Added "lazy" feature that lazy-renders the tween on the tick that it reads its starting values (to avoid the read/write/read/write layout thrashing in some browsers). It is enabled by default on all tweens except zero-duration ones (and set() calls), but you can override the default behavior by defining lazy:true or lazy:false as a special property of any tween.

- Added new force3D:"auto" value that forces 3D transforms to be used during the tween and then automatically switches back to 2D at the end of the tween if there are no 3D properties necessary (rotationX, rotationY, or z); this can help free up GPU memory, especially on mobile devices.

- AttrPlugin can now accommodate non-numeric values. For example, TweenLite.set("#img", {attr:{src:"photo.jpg"}});

- Improved Draggable's touch handling so that when the user taps on a UI element (like a checkbox) inside a Draggable, it works more intuitively. The event.preventDefault() is called in fewer circumstances now.

- Improved Draggable's compatibility with SVG elements.

- Added a "soft" disable() for Draggable that you can call like yourDraggable.disable("soft") in which case it won't remove the mouse/touch listeners, thus it is faster. You can kill() a Draggable if you don't plan to use it anymore.

- Deprecated Draggable's disable() and enable() methods in favor of a new enabled() method that can do both (disable and enable).

- Fixed an issue with Draggable's hitTest() method that caused an error in IE8.

- Fixed issue in jquery.gsap.js plugin that could cause an error with jQuery 2.1 and the way it handles the queue.

- Fixed an issue with IE8 opacity that could cause it not to read the current value properly if the CSS used an upper-case "O" in "Opacity".

- Worked around a browser issue that caused SVG elements not to report their transform properly which could cause string-based transform tweens not to work as expected.

- Improved compatibility with SVG className tweens.

- Fixed issue in TimelineLite's getTweensOf() method that would prevent it from finding tweens after it had completed or had been disabled.

- Fixed issue that caused reversed tweens not to complete in the correct direction when the "complete" parameter of TweenMax.killAll() was true.

- Fixed issue that could cause an infinite loop if the same vars objects are reused and flip-flopped in two fromTo() tweens.
  • Loading branch information
gsap-dev committed Jun 25, 2014
1 parent e0ad6ba commit 0ba799c
Show file tree
Hide file tree
Showing 18 changed files with 557 additions and 336 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gsap",
"version": "1.11.8",
"version": "1.12.0",
"description": "GreenSock Animation Platform (GSAP) is a suite of high-performance JavaScript animation tools, including TweenLite, TweenMax, TimelineLite, TimelineMax, various easing equations (EasePack), plugins for things like animating along Bezier paths, tweening RaphaelJS or KineticJS objects, etc. and it also includes an optional jQuery plugin that hijacks the native jQuery.animate() method so that animations perform much better and additional properties can be tweened, like colors, transforms (2D and 3D), boxShadow, borderRadius, clip, and lots more. GSAP has no dependencies on jQuery and it can animate ANY numeric property of ANY object. See http://www.greensock.com/gsap-js/ for details.",
"author": {
"name": "Jack Doyle",
Expand Down
6 changes: 3 additions & 3 deletions src/minified/TimelineLite.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/minified/TimelineMax.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/minified/TweenLite.min.js

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions src/minified/TweenMax.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/minified/easing/EasePack.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/minified/jquery.gsap.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions src/minified/plugins/CSSPlugin.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 0ba799c

Please sign in to comment.