oxjs/readme/index/download.html
2012-06-20 11:06:15 +02:00

35 lines
1.7 KiB
HTML

<h1><b>Download</b></h1>
<p>{version}</p>
<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.source.tar.gz"><code>OxJS.latest.source.tar.gz</code></a>{size.source}.</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>{size.build}.</p>
<p>Or get <code>Ox.js</code> only: &nbsp;<a href="https://oxjs.org/oxjs/build/Ox.js"><code>Ox.js</code></a>{size.minified}.</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>