[gnome-devel-docs] Tutorials: .desktop tutorial and small fixes to JS samples
- From: Susanna Huhtanen <susannah src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-devel-docs] Tutorials: .desktop tutorial and small fixes to JS samples
- Date: Mon, 20 Feb 2012 12:53:53 +0000 (UTC)
commit b212a2076a9f62d114de0cd9f84e35fd255ba6d5
Author: Susanna Huhtanen <ihmis suski gmail com>
Date: Mon Feb 20 14:49:20 2012 +0200
Tutorials: .desktop tutorial and small fixes to JS samples
platform-demos/C/helloWorld.js.page | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/platform-demos/C/helloWorld.js.page b/platform-demos/C/helloWorld.js.page
index 2bb4443..332ce1f 100644
--- a/platform-demos/C/helloWorld.js.page
+++ b/platform-demos/C/helloWorld.js.page
@@ -19,7 +19,7 @@
<p>In this tutorial we'll construct a small application, Hello World, using JavaScript and GTK+. To do and run all the code examples yourself, you need an editor to write code in, terminal and GNOME 3. or higher installed into your computer.</p>
</synopsis>
- <section id=".js">
+ <section id="js">
<title>helloWorld.js</title>
<p>This a basic Hello World application done with JavaScript and GTK+.</p>
<code mime="text/javascript" style="numbered"><![CDATA[
@@ -42,6 +42,6 @@ label.show();
mywindow.show();
//and run it
Gtk.main();]]></code>
- </section>
<p>To run this application open Terminal, go to the folder where your application is stored and then run</p> <screen> <output style="prompt">$ </output><input> GJS_PATH=`pwd` gjs helloWorld.js</input> </screen>
+ </section>
</page>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]