mirror of
https://github.com/processing/processing4.git
synced 2026-02-01 12:51:37 +01:00
Updated JS mode examples, changed convenience function to have same camel case as Processing.getInstanceById()
This commit is contained in:
@@ -3,7 +3,7 @@ window.onload = function () {
|
||||
}
|
||||
|
||||
function tryFindSketch () {
|
||||
var sketch = Processing.getInstanceById(getProcessingSketchID());
|
||||
var sketch = Processing.getInstanceById(getProcessingSketchId());
|
||||
if ( sketch == undefined ) return setTimeout(tryFindSketch, 200);
|
||||
|
||||
var controller = new Controller(sketch,"form-form");
|
||||
|
||||
Reference in New Issue
Block a user