From 18a50f784b2335a12713a237e25a1d567fc0d1dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 30 Oct 2013 12:10:00 +0100 Subject: [PATCH] Platform: update HTML markup documentation. --- src/Platform/NaClApplication.h | 10 +++++----- src/Platform/Sdl2Application.h | 3 ++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/Platform/NaClApplication.h b/src/Platform/NaClApplication.h index 16fb4c733..162c140a2 100644 --- a/src/Platform/NaClApplication.h +++ b/src/Platform/NaClApplication.h @@ -86,7 +86,7 @@ You need to provide HTML markup for your application. Template one is below, you can modify it to your liking. The markup references two files, `NaClApplication.js` and `WebApplication.css`, both are in `Platform/` directory in the source tree and are also installed into `share/magnum/` inside -your NaCl toolchain. +your NaCl toolchain. Change `<application>` to name of your executable. @code @@ -98,7 +98,7 @@ your NaCl toolchain.

Magnum NaCl Application

- +
Initialization...
@@ -115,12 +115,12 @@ The CSS file contains rudimentary style to avoid eye bleeding. The `<embed>` file references NMF file which you need to provide too. If you target @ref CORRADE_TARGET_NACL_NEWLIB "newlib", the file is pretty simple, -for example: +for example (change `<application>` to name of your executable): @code { "program": { - "x86-32": {"url": "application-x86-32.nexe"}, - "x86-64": {"url": "application-x86-64.nexe"} + "x86-32": {"url": "-x86-32.nexe"}, + "x86-64": {"url": "-x86-64.nexe"} } } @endcode diff --git a/src/Platform/Sdl2Application.h b/src/Platform/Sdl2Application.h index d45e8f6ef..a0451e282 100644 --- a/src/Platform/Sdl2Application.h +++ b/src/Platform/Sdl2Application.h @@ -88,6 +88,7 @@ provide HTML markup for your application. Template one is below, you can modify it to your liking. The markup references two files, `EmscriptenApplication.js` and `WebApplication.css`, both are in `Platform/` directory in the source tree and are also installed into `share/magnum/` inside your Emscripten toolchain. +Change `<application>` to name of your executable. @code @@ -103,7 +104,7 @@ and are also installed into `share/magnum/` inside your Emscripten toolchain.
Initialization...
- +