Refactored code. Memory usage is reduced slightly by using prototype, not using closure and so on.
Code Improvements, Bug Fixes
Improved handling when specified invalid format string in files (data-files) option. Using specified string as filename, animated images consisting of single image are generated. “404 Not Found” will occur but other animations will be processed normally.
Fixed a issue that class/style/event attributes cannot be specified to animated images in IE7 or earlier. The cause is proprietary specification of getAttribute()/setAttribute() in IE7 or earlier.
Fixed a issue that existence of img@class attribute cannot be detected correctly in IE7 or earlier. The cause is proprietary specification of getAttribute() in IE7 or earlier.
Fixed a issue that image size is fixed after showing blank image in browsers other than IE8 or earlier. width/height attributes are set when showing blank image, then had been remained without removed. Regression in v1.0.4.
Fixed the following issues about image size, occurred in IE8 or earlier
Specifying width/height attributes after creating ImageAnimator, specified values had not been reflected
Specifying img@src attribute before creating ImageAnimator, the image had been fixed to the size of first image
Invoking appendChild() before creating ImageAnimator, the image had been fixed to the size of first iamge