1
0
Fork 0
forked from 0x2620/oxjs

make doc page examples menu work

This commit is contained in:
rolux 2012-06-12 16:26:55 +02:00
commit d89a8e1087
4 changed files with 34 additions and 56 deletions

View file

@ -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,