mirror of
https://github.com/leaningtech/cheerpj-meta.git
synced 2025-03-25 07:27:51 +01:00
Update index.html
This commit is contained in:
parent
56c3bbced5
commit
354b2cf047
@ -50,7 +50,7 @@
|
|||||||
);
|
);
|
||||||
cheerpjCreateDisplay(400, 300);
|
cheerpjCreateDisplay(400, 300);
|
||||||
|
|
||||||
// here we use the path '/app/Interoperability/example.jar' for deployment on the cloud
|
// here we use the path '/app/cheerpj-meta/examples/Interoperability/example.jar' for deployment on the cloud
|
||||||
// use the path '/app/example.jar' for local deployment
|
// use the path '/app/example.jar' for local deployment
|
||||||
// await cheerpjRunJar('/app/example.jar');
|
// await cheerpjRunJar('/app/example.jar');
|
||||||
await cheerpjRunJar('/app/cheerpj-meta/examples/Interoperability/example.jar');
|
await cheerpjRunJar('/app/cheerpj-meta/examples/Interoperability/example.jar');
|
||||||
@ -64,7 +64,6 @@
|
|||||||
|
|
||||||
// Call the Java method with the input text
|
// Call the Java method with the input text
|
||||||
const response = await window.myApplication.processInput(inputText);
|
const response = await window.myApplication.processInput(inputText);
|
||||||
window.alert(response);
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user