From 211d64166270e140b8e29e5806a425d531f7833b Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 21 Jun 2012 18:50:14 +0200 Subject: [PATCH] update download / getting started --- readme/getting_started.html | 21 ++++++++++++++++++++- readme/index/download.html | 14 +------------- 2 files changed, 21 insertions(+), 14 deletions(-) diff --git a/readme/getting_started.html b/readme/getting_started.html index 585ed539..66e60b56 100644 --- a/readme/getting_started.html +++ b/readme/getting_started.html @@ -1,3 +1,22 @@

Getting Started with OxJS

-

Nothing to see here yet, please move along...

\ No newline at end of file +

<!DOCTYPE HTML>
+<html>
+    <head>
+        <script type="text/javascript" src="OxJS/build/Ox.js"></script>
+        <script>
+            Ox.load(function() {
+                // Your code here.
+            });
+        </script>
+    </head>
+    <body></body>
+</html>

+ +

To include Ox.UI, start with Ox.load('UI', function() { ... }).

+ +

For the development version, use OxJS/dev/Ox.js instead.

+ +

If you're making changes to OxJS (methods, widgets, modules, etc.), make them in source/, not in dev/. dev/ contains symlinks to source/ (plus some json files to tell Ox.load which resources to include), so your edits will be live.

+ +

To add or remove files, or to rebuild the production version, run /tools/build/build.py. This will update both build/ and dev/ from source/.

diff --git a/readme/index/download.html b/readme/index/download.html index 3b3a7b89..1d3c2cea 100644 --- a/readme/index/download.html +++ b/readme/index/download.html @@ -17,19 +17,7 @@

Or get Ox.js only:  Ox.js{size.minified}.


Getting Started

-
<!DOCTYPE HTML>
-<html>
-    <head>
-        <script type="text/javascript" src="OxJS/build/Ox.js"></script>
-        <script>
-            Ox.load(function() {
-                // Your code here.
-            });
-        </script>
-    </head>
-    <body></body>
-</html>
-

For the development version, use OxJS/dev/Ox.js instead. And to include Ox.UI, start with Ox.load('UI', function() { ... }).

+

Take a look at our short tutorial.


License

Dual-licensed, GPL/MIT. You can pick either. In a nutshell, the former says no derived work may be more restrictive, while the latter avoids to make that restriction.