1
0
Fork 0
forked from 0x2620/oxjs

prototype of a documentation page

This commit is contained in:
rolux 2011-05-06 19:40:26 +02:00
commit b1d171282c
8 changed files with 476 additions and 85 deletions

18
demos/doc/js/doc.js Normal file
View file

@ -0,0 +1,18 @@
Ox.load('UI', {
debug: true,
theme: 'classic'
}, function() {
Ox.Theme('classic');
Ox.get('../../build/Ox.js', function(source) {
var doc = Ox.doc(source);
doc.forEach(function(item) {
Ox.DocPage({doc: item}).appendTo(Ox.UI.$body);
});
Ox.get('../../build/Ox.UI/js/Map/Ox.Map.js', function(source) {
var doc = Ox.doc(source);
doc.forEach(function(item) {
Ox.DocPage({doc: item}).appendTo(Ox.UI.$body);
});
});
});
});