mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 14:19:19 +01:00
Updated JS mode examples, changed convenience function to have same camel case as Processing.getInstanceById()
This commit is contained in:
@@ -6,7 +6,7 @@ window.onload = function () {
|
||||
|
||||
// try and find the sketch
|
||||
function tryLinkSketch() {
|
||||
var sketch = Processing.getInstanceById( getProcessingSketchID() );
|
||||
var sketch = Processing.getInstanceById( getProcessingSketchId() );
|
||||
if ( sketch == undefined )
|
||||
setTimeout(tryLinkSketch, 200); /*try again later*/
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user