updated docs

This commit is contained in:
Eric Rowell 2012-11-05 07:33:54 -08:00
parent bb26f948f2
commit 4cc505446a
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ Kinetic.Animation._removeAnimation = function(anim) {
for(var n = 0; n < animations.length; n++) {
if(animations[n].id === id) {
this.animations.splice(n, 1);
return false;
break;
}
}
};

View File

@ -745,7 +745,7 @@ Kinetic.Node.prototype = {
* @name toImage
* @methodOf Kinetic.Node.prototype
* @param {Object} config
* @param {Function} callback since the toImage() method is asynchonrous, the
* @param {Function} config.callback since the toImage() method is asynchonrous, the
* resulting image object is passed into the callback function
* @param {String} [config.mimeType] mime type. can be "image/png" or "image/jpeg".
* "image/png" is the default