diff --git a/dist/kinetic-current.js b/dist/kinetic-current.js index de0bce29..6caa469d 100644 --- a/dist/kinetic-current.js +++ b/dist/kinetic-current.js @@ -1811,7 +1811,7 @@ Kinetic.Node.prototype = { * converts node into an image. Since the toImage * method is asynchronous, a callback is required * @name toImage - * @methodOf Kinetic.Stage.prototype + * @methodOf Kinetic.Node.prototype * @param {Object} config * @param {Function} callback since the toImage() method is asynchonrous, the * resulting image object is passed into the callback function diff --git a/src/Node.js b/src/Node.js index dfbb6645..dc17f248 100644 --- a/src/Node.js +++ b/src/Node.js @@ -720,7 +720,7 @@ Kinetic.Node.prototype = { * converts node into an image. Since the toImage * method is asynchronous, a callback is required * @name toImage - * @methodOf Kinetic.Stage.prototype + * @methodOf Kinetic.Node.prototype * @param {Object} config * @param {Function} callback since the toImage() method is asynchonrous, the * resulting image object is passed into the callback function