Confirmed users
656
edits
| Line 251: | Line 251: | ||
function switchSketchState(on) { | function switchSketchState(on) { | ||
if (!processingInstance) { | if (!processingInstance) { | ||
processingInstance = Processing.getInstanceById(sketch); | processingInstance = Processing.getInstanceById('sketch'); | ||
} | } | ||