diff --git a/pages/DOM-and-JavaScript-interoperability.md b/pages/DOM-and-JavaScript-interoperability.md index e9b5c4b..6133904 100644 --- a/pages/DOM-and-JavaScript-interoperability.md +++ b/pages/DOM-and-JavaScript-interoperability.md @@ -67,4 +67,4 @@ jar cvf domexample.jar DomExample.class $CHEERPJ_INSTALL_PATH/cheerpjfy.py --deps $CHEERPJ_INSTALL_PATH/cheerpj-dom.jar domexample.jar ``` -See the [[Getting Started]] page to see how to run the compiled Java code in an HTML page. +See the [Getting Started](Getting-Started) page to see how to run the compiled Java code in an HTML page. diff --git a/pages/Tutorial.md b/pages/Tutorial.md index 85a7a28..26d6a8f 100644 --- a/pages/Tutorial.md +++ b/pages/Tutorial.md @@ -51,7 +51,7 @@ Copy the following HTML code into ```~/cheerpj_tutorial/cheerpj_tutorial.html``` Let's break down what is going on: * We first include the CheerpJ loader from our cloud runtime. (https://cjrtnc.leaningtech.com/2.2/loader.js). This file is the only script that needs to be loaded to use CheerpJ. CheerpJ will _automatically_ load all other files, including the ```TextDemo.jar.js``` we generated above. -* We initialize CheerpJ using the ```cheerpjInit()``` API. See [[Runtime API]] for more information. +* We initialize CheerpJ using the ```cheerpjInit()``` API. See [Runtime API](Runtime-API) for more information. * We want to run a graphical application (i.e. a Swing or AWT application), so we need to initialize a _virtual display_ in the page. CheerpJ will render all Java windows into this display. * We can now start the JAR file. CheerpJ will _automatically_ download the ```TextDemo.jar.js``` file as soon as the first application class is loaded @@ -87,4 +87,4 @@ Now open your favourite browser and enter the following URL ```http://127.0.0.1: # The end! -Congratulations, you have successfully compiled and run your first Java application using CheerpJ. For more information, please read our in-depth [[Getting Started]] page. +Congratulations, you have successfully compiled and run your first Java application using CheerpJ. For more information, please read our in-depth [Getting Started](Getting-Started) page. diff --git a/pages/WebWorker-API.md b/pages/WebWorker-API.md index 862e78d..973ad9c 100644 --- a/pages/WebWorker-API.md +++ b/pages/WebWorker-API.md @@ -6,7 +6,7 @@ CheerpJ supports running Java code in the background using WebWorkers. To use th All code in a Worker runs in parallel and asynchronously with the main thread. All the methods below return standard JavaScript ```Promise```s, and you can use ```.then(...)```, ```.catch(...)``` and ```async/await``` with them. -We recommend reading the [[Runtime API]] documentation before proceeding on this page. +We recommend reading the [Runtime API](Runtime-API) documentation before proceeding on this page. ## Creating and initializing a CheerpJ worker @@ -17,7 +17,7 @@ var w = new CheerpJWorker(); w.cheerpjInit().then(function(e) { console.log("CheerpJWorker is ready"); }); ``` -This starts the WebWorker and initializes CheerpJ in that context. All workers need to be initialized in this way. As a general rule the ```CheerpJWorker``` exposes the same API as CheerpJ in the main thread. You can read details about the main thread API in the [[Runtime API]] page. +This starts the WebWorker and initializes CheerpJ in that context. All workers need to be initialized in this way. As a general rule the ```CheerpJWorker``` exposes the same API as CheerpJ in the main thread. You can read details about the main thread API in the [Runtime API](Runtime-API) page. ## Parameters and return values