From df829e1e89eea8c2e63bf79c2d3805b815978e90 Mon Sep 17 00:00:00 2001 From: Eric Rowell Date: Sat, 3 Nov 2012 16:08:29 -0700 Subject: [PATCH] fixed up toImage() docs --- dist/kinetic-current.js | 2 +- src/Node.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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