35 lines
1.7 KiB
HTML
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 <a href="https://oxjs.org/downloads/OxJS.latest.build.tar.gz"><code>OxJS.latest.source.tar.gz</code></a>{size.source}.</p>
|
|
<p>Start with <code>OxJS/index.html</code>. It's this website.</p>
|
|
<br>
|
|
<h2><b>Build</b></h2>
|
|
<p>Minified production version.</p>
|
|
<p>Download <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: <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><!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></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>
|