oxjs/demos/doc/js/doc.js

28 lines
796 B
JavaScript
Raw Normal View History

2011-05-06 17:40:26 +00:00
Ox.load('UI', {
debug: true,
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;
2011-05-06 17:40:26 +00:00
Ox.get('../../build/Ox.js', function(source) {
var doc = Ox.doc(source);
doc.forEach(function(item) {
Ox.DocPage({doc: item}).appendTo(Ox.UI.$body);
});
// /*
2011-05-06 17:40:26 +00:00
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))
2011-05-06 17:40:26 +00:00
});
// */
2011-05-06 17:40:26 +00:00
});
});