oxjs/readme/html/_download.html

35 lines
1.7 KiB
HTML
Raw Normal View History

2012-06-17 09:19:01 +00:00
<h1><b>Download</b></h1>
<p>{version}</p>
2012-04-07 10:41:39 +00:00
<br>
<h2><b>Source</b></h2>
<p>Development version, including everything but the kitchen sink.</p>
<p>
Check it out and build it yourself (you'll need <a href="https://wiki.0x2620.org/wiki/python-ox"><code>python-ox</code></a>):<pre>
$ bzr branch http://code.0x2620.org/oxjs
$ tools/build/build.py</pre>
</p>
<p>Or download &nbsp;<a href="https://oxjs.org/downloads/OxJS.latest.build.tar.gz"><code>OxJS.latest.source.tar.gz</code></a></p>
<p>Start with &nbsp;<code>OxJS/index.html</code>. It's this website.</p>
<br>
<h2><b>Build</b></h2>
<p>Minified production version.</p>
<p>Download &nbsp;<a href="https://oxjs.org/downloads/OxJS.latest.build.tar.gz"><code>OxJS.latest.build.tar.gz</code></a>, or get <code>Ox.js</code> only: &nbsp;<a href="https://oxjs.org/oxjs/build/Ox.js"><code>Ox.js</code></a></p>
<br>
<h2><b>Getting Started</b></h2>
<pre>&lt;!DOCTYPE HTML&gt;
&lt;html&gt;
&lt;head&gt;
&lt;script type="text/javascript" src="OxJS/build/Ox.js"&gt;&lt;/script&gt;
&lt;script&gt;
Ox.load(function() {
// Your code here.
});
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;&lt;/body&gt;
&lt;/html&gt;</pre>
<p>For the development version, use <code>OxJS/dev/Ox.js</code> instead. And to include <code>Ox.UI</code>, start with <code>Ox.load('UI', function() { ... })</code>.</p>
<br>
<h2><b>License</b></h2>
<p>Dual-licensed, <a href=\"http://en.wikipedia.org/wiki/GNU_General_Public_License\">GPL</a>/<a href=\"http://en.wikipedia.org/wiki/MIT_License\">MIT</a>. 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.</p>