forked from 0x2620/oxjs
add documentation browser (Ox.DocPanel, demo, more documentation)
This commit is contained in:
parent
16dce2e517
commit
698d57abb0
11 changed files with 1610 additions and 1179 deletions
|
|
@ -3,19 +3,26 @@ Ox.load('UI', {
|
|||
theme: 'classic'
|
||||
}, function() {
|
||||
Ox.Theme('classic');
|
||||
Ox.doc('../../build/Ox.js', function(items) {
|
||||
items.forEach(function(item) {
|
||||
Ox.DocPage({doc: item}).appendTo(Ox.UI.$body);
|
||||
});
|
||||
});
|
||||
return;
|
||||
|
||||
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);
|
||||
});
|
||||
Ox.print('TEST', Ox.test(source))
|
||||
});
|
||||
*/
|
||||
Ox.print('TEST', Ox.test(source))
|
||||
// */
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue