[gnome-devel-docs] platform-demos: added instructions on how to run js code examples.
- From: Tiffany Antopolski <antopolski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-devel-docs] platform-demos: added instructions on how to run js code examples.
- Date: Sat, 7 Apr 2012 21:49:45 +0000 (UTC)
commit 0734fa71320d8b67cf135c7a4b1883df082d14fc
Author: Tiffany Antopolski <tiffany antopolski gmail com>
Date: Sat Apr 7 17:49:06 2012 -0400
platform-demos: added instructions on how to run js code examples.
platform-demos/C/beginner.js.page | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/platform-demos/C/beginner.js.page b/platform-demos/C/beginner.js.page
index 40b6533..ba0ac6d 100644
--- a/platform-demos/C/beginner.js.page
+++ b/platform-demos/C/beginner.js.page
@@ -23,6 +23,15 @@
<section id="samples">
<title>Code samples</title>
+ <p>
+ To run the code samples:
+ </p>
+ <steps>
+ <item><p>Copy and paste the code into <var>filename</var>.js</p></item>
+ <item><p>In the terminal type:</p>
+ <p><screen>gjs <var>filename</var>.js</screen></p></item>
+ </steps>
+
<section id="windows"><title>Windows</title>
</section>
<section id="display-widgets"><title>Display widgets</title>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]