shape-anim.js revision a89ad754cce3cfc8aee71760e10217b54020360d
/**
* Simple plugin that can be used to animate object attributes.
*
* @module anim
* @submodule shape-anim
*/
var NUM = Number,
NODE = "node",
/**
* Simple plugin that can be used to animate an object attributes.
*
* @class ShapeAnim
* @extends Anim
* @constructor
* @namespace Plugin
*/
};
/**
* @property NAME
* @description anim-plugin
* @type {String}
*/
/**
* @property NS
* @description The Anim instance will be placed on the target instance under the anim namespace. It can be accessed via [target].anim;
* @type {String}
*/
/**
* The default setter to use when setting object properties.
*
* @property DEFAULT_SETTER
* @static
*/
//make sure node instance
}
}
};
/**
* The default getter to use when getting object properties.
*
* @property DEFAULT_GETTER
* @static
*/
val = '';
//make sure node instance
}
}
return val;
};
/**
* The object to be animated.
* @attribute node
* @type Node
*/
node: {
if (node) {
//make sure it is a node or node instance
}
}
if (!node) {
}
return node;
}
}
};
_initAnimAttr: function() {
attr = {
},
if (typeof val === 'function') {
}
} else if (typeof begin === 'function') {
}
}
return;
}
};
}, this);
this._runtimeAttr = attr;
},
var attr = this._runtimeAttr,
lastFrame = d,
done = false,
i;
if (t >= d) {
done = true;
}
if (reverse) {
t = d - t;
lastFrame = 0;
}
for (i in attr) {
if (!done) {
} else {
}
}
}
}
});
Y.namespace('Plugin');