forked from 0x2620/oxjs
make doc page examples menu work
This commit is contained in:
parent
86f6123565
commit
d89a8e1087
4 changed files with 34 additions and 56 deletions
|
|
@ -114,6 +114,7 @@ Ox.ExamplePage = function(options, self) {
|
|||
})
|
||||
.appendTo(self.$toolbar);
|
||||
|
||||
/*
|
||||
self.$referencesMenu = Ox.MenuButton({
|
||||
items: self.options.references.map(function(reference) {
|
||||
return {id: reference, title: reference};
|
||||
|
|
@ -127,10 +128,11 @@ Ox.ExamplePage = function(options, self) {
|
|||
.css({float: 'right', margin: '4px 2px 4px 2px'})
|
||||
.bindEvent({
|
||||
click: function(data) {
|
||||
that.triggerEvent('select', {id: data.id});
|
||||
that.triggerEvent('doc', {id: data.id});
|
||||
}
|
||||
})
|
||||
.appendTo(self.$toolbar);
|
||||
*/
|
||||
|
||||
self.$viewer = Ox.SourceViewer({
|
||||
file: self.options.js,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue