Skip to content

Commit b0a53d9

Browse files
author
Lanny McNie
committed
Updated old code in demo
1 parent da90ace commit b0a53d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/SpriteSheet.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ <h1><span class="text-product">Easel<strong>JS</strong></span> Sprite Sheets</h1
156156
}
157157

158158
stage.addChild(sky, ground, hill, hill2, grant);
159-
stage.onMouseDown = handleJumpStart;
159+
stage.on("mousedown", handleJumpStart);
160160

161161
createjs.Ticker.setFPS(40);
162162
createjs.Ticker.on("tick", tick);

0 commit comments

Comments
 (0)