transition-debug.js revision ed09628b372a1f5611ccd9e25581da187ddede17
10139N/ATransition = function() {
10139N/A setTimeout(function() {
var anim = this,
data = {
return anim;
_start: function() {
this._runNative();
var anim = this,
attr,
name;
var anim = this,
data = {
if (node) {
if (callback) {
} else if (callback) {
_onNativeEnd: function(e) {
var node = this,
data,
if (anim) {
data = {
destroy: function() {
var anim = this;
* @param {Object} config An object containing one or more style properties, a duration and an easing.
prop;
config = null;
if (typeof name !== 'string' && !name.push) { // named effect or array of effects supercedes default
else if (name && !Y.Transition) { Y.log('unable to transition show; missing transition module', 'warn', 'node'); }
if (fn) {
if (callback) {
config = null;
if (typeof name !== 'string' && !name.push) { // named effect or array of effects supercedes default
} else if (name && !Y.Transition) { Y.log('unable to transition hide; missing transition module', 'warn', 'node'); // end if on nex
this._hide();
* @param {Object} config An object containing one or more style properties, a duration and an easing.
* @param {Function} callback A function to run after the transition has completed. The callback fires
node;
var callback;
if (on) {
this._show();
node;
fadeOut: {
fadeIn: {
sizeOut: {
sizeIn: {
on: {
start: function() {
end: function() {
_start: function() {
this._runNative();
this._runTimer();
_runTimer: function() {
var anim = this;
_endTimer: function() {
var anim = this;
_runFrame: function() {
var t = new Date() - this._startTime;
this._runAttrs(t);
var anim = this,
done = false,
allDone = false,
data,
name,
t = time;
data = {
done = (t >= d);
if (done) {
allDone = true;
_initAttrs: function() {
var anim = this,
val,
name,
mTo,
destroy: function() {
this.detachAll();
this._node = null;
_runtimeAttrs: {},
behaviors: {
left: {
if (node) {
return val;
_startTimer: function() {
_stopTimer: function() {
_runFrame: function() {
var done = true,
anim;
done = false;
if (done) {
cubicBezier: function(p, t) {
D = x0,
H = y0,
easings: {
_running: {},
_timer: null,