Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.95 KB

CHANGELOG.md

File metadata and controls

36 lines (25 loc) · 1.95 KB

v0.1.5 (2011/08/05)

  • Added a sanity check for scale(0) values and replace them with 0.0001. It doesn't seem possible to decompose matrices with scale(0) using the method implemented
  • Switched from Swifty.js to Mifty.js for the core distribution which is a build of Swifty optimised for Morf.js use
  • The decompose function now returns the identity matrix on failure to decompose so as not to throw an error
  • Updated the build script to provide output file size and give an estimate of the gzipped file size
  • Added a function to optimise the CSS. WebKitCSSMatrix always outputs values to 5 decimal places, to save space the string is now parsed before output
  • Fixed a bug where some transitions would throw errors and miss keyframes when using -webkit-transform. Problem was caused by floats with too many decimal places being passed to the WebKitCSSMatrix constructor (5 is the limit).

v0.1.4 (2011/07/30)

  • Fixed a bug with numeric values, such as opacity
  • Ensured Morf tidies up after itself when using native transitions. Otherwise future CSS changes might be unexpectedly animated
  • Working out the initial CSS state now uses window.getComputedStyle() to take into account any styling applied by external CSS stylesheets
  • Fixed a bug that prevented the webkitAnimationEnd listener being removed as it was being accidentally defined in global scope
  • Callback function now passes back the original element as a parameter
  • Disabled the caching as it doesn't appear to be working 100% as expected

v0.1.3 (2011/07/27)

  • Added a cache to keep track of generated animations to reduce CPU usage for repeated transition effects
  • Improved the efficiency of the setup loop

v0.1.2 (2011/07/20)

  • Added a callback to the config options as an alternative to listening for webkitTransitionEnd
  • Updated Shifty.js to 0.4.1

v0.1.1 (2011/07/15)

  • Fixed binding issue with webkitAnimationEnd event
  • Updated Shifty.js to 0.2.0

v0.1 (2011/06/11)

  • Initial Commit