<!DOCTYPE HTML> <html> <head> <script type="text/javascript" src="OxJS/build/Ox.js"></script> <script> Ox.load(function() { // Document ready. 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/
.