Fix undefined stepper.

This commit is contained in:
Brendan Dahl 2012-02-14 10:25:53 -08:00
parent 6aa72f411b
commit ebf26a5e29

View File

@ -285,7 +285,7 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
var slowCommands = this.slowCommands; var slowCommands = this.slowCommands;
while (true) { while (true) {
if (stepper !== null && i === stepper.nextBreakPoint) { if (stepper && i === stepper.nextBreakPoint) {
stepper.breakIt(i, continueCallback); stepper.breakIt(i, continueCallback);
return i; return i;
} }