forked from 0x2620/oxjs
prototype of a documentation page
This commit is contained in:
parent
a6ed310087
commit
b1d171282c
8 changed files with 476 additions and 85 deletions
18
demos/doc/js/doc.js
Normal file
18
demos/doc/js/doc.js
Normal 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);
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue