This project is archived and is in readonly mode.

#385 ✓resolved
Daniel Steigerwald

Fx string transitions broken in master.

Reported by Daniel Steigerwald | September 21st, 2008 @ 01:46 AM | in 1.2.1


window.onload = function() {
            new Element('div', {
                style: 'position: absolute; width: 100px; height: 100px; background-color: blue; left: 100px; top: 100px;'
            }).inject(document.body)
            .set('morph', { transition: 'expo:in'})
            .morph({left: 200,top: 200});
        }

This doesn't work.

Comments and changes to this ticket

  • Jan Kassens

    Jan Kassens September 21st, 2008 @ 09:31 AM

    • Assigned user changed from “Valerio” to “Jan Kassens”
  • Jan Kassens

    Jan Kassens October 4th, 2008 @ 01:03 PM

    • Assigned user changed from “Jan Kassens” to “Tom Occhino”
    • Title changed from “Last dev edge breaks fx string transitions” to “Fx string transitions broken in master.”
    • State changed from “new” to “open”
    • Milestone changed from 2.0 to 1.2.1

    Fx.prototype.initialize is overridden in Fx.Transitions to replace strings with a functions.

    Fx.prototype.initialize is not called anymore by the new inheritance system for some reason.

  • Tom Occhino

    Tom Occhino October 4th, 2008 @ 03:20 PM

    • State changed from “open” to “resolved”

    Fx.Transitions.js needs to be included before Fx.Morph / Fx.Tween because we can't retroactively modify methods that are called from subclasses.

    This wasnt a problem in 1.2 because Extending was done upon instantiation, but this isn't the case anymore.

    Fixed in my fork, somewhere, but i cant seem to find it. :P

  • Jan Kassens

    Jan Kassens October 5th, 2008 @ 03:07 PM

    • Assigned user changed from “Tom Occhino” to “Jan Kassens”

    Fixed this in the master now.

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

Pages