fixed up unit serialization tests. cleaned up constructor jsdoc comments. fixed Ellipse setRadius method

This commit is contained in:
ericdrowell
2012-09-26 20:28:20 -07:00
parent f235ea032d
commit 759ec116ce
9 changed files with 285 additions and 325 deletions

View File

@@ -25,13 +25,7 @@
* @param {Number} [config.offset.x]
* @param {Number} [config.offset.y]
* @param {Boolean} [config.draggable]
* @param {String} [config.dragConstraint] can be vertical, horizontal, or none. The default
* is none
* @param {Object} [config.dragBounds]
* @param {Number} [config.dragBounds.top]
* @param {Number} [config.dragBounds.right]
* @param {Number} [config.dragBounds.bottom]
* @param {Number} [config.dragBounds.left]
* @param {Function} [config.dragBoundFunc] dragBoundFunc(pos, evt) should return new position
*/
Kinetic.Layer = function(config) {
this._initLayer(config);