1
0
Fork 0
forked from 0x2620/oxjs

make it possible to parse keywords from documented source

This commit is contained in:
rolux 2012-04-04 18:26:17 +02:00
commit fb8dd98b8a
5 changed files with 78 additions and 46 deletions

View file

@ -8,11 +8,18 @@
Ox.load('UI', function() {
///*
Ox.ExamplePanel({
examples: ['cities'],
path: Ox.PATH + '../examples/',
replace: [[/\b(Ox[\.\w]+)\b/g, '<b>$1</b>']]
})
.appendTo(Ox.$body);
examples: ['cities'],
keywords: /\b(Ox\.[\w]+)\b/g,
path: Ox.PATH + '../examples/',
replace: [[/\b(Ox[\.\w]+)\b/g, '<b>$1</b>']],
selected: window.location.hash.substr(1)
})
.bindEvent({
select: function(data) {
window.location.hash = data.id;
}
})
.appendTo(Ox.$body);
//*/
/*
Ox.ExamplePage({