From 06c14f29f1485799cfed5c8d7101b4c3088e8f35 Mon Sep 17 00:00:00 2001 From: Eric Rowell Date: Sat, 22 Mar 2014 00:17:56 -0700 Subject: [PATCH] the draw method doesn't need a top node argument --- src/Node.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Node.js b/src/Node.js index 85d262e7..7435f91d 100644 --- a/src/Node.js +++ b/src/Node.js @@ -200,7 +200,7 @@ sceneContext.stroke(); sceneContext.restore(); } - + this.drawScene(cachedSceneCanvas, this); this.drawHit(cachedHitCanvas, this); @@ -1534,9 +1534,9 @@ * @memberof Kinetic.Node.prototype * @returns {Kinetic.Node} */ - draw: function(top) { - this.drawScene(top); - this.drawHit(top); + draw: function() { + this.drawScene(); + this.drawHit(); return this; } });