make it possible to parse keywords from documented source
This commit is contained in:
parent
6c4e520b6d
commit
fb8dd98b8a
5 changed files with 78 additions and 46 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue