1
0
Fork 0
forked from 0x2620/oxjs

rename 'keywords' option to 'references'

This commit is contained in:
rolux 2012-06-12 14:31:45 +02:00
commit b71d9148d0
2 changed files with 12 additions and 11 deletions

View file

@ -14,6 +14,7 @@ Ox.ExamplePage = function(options, self) {
.defaults({
html: '',
js: '',
references: [],
replaceCode: [],
replaceComment: [],
selected: 'source',
@ -113,9 +114,9 @@ Ox.ExamplePage = function(options, self) {
})
.appendTo(self.$toolbar);
self.$keywordMenu = Ox.MenuButton({
items: self.options.keywords.map(function(keyword) {
return {id: keyword, title: keyword};
self.$referencesMenu = Ox.MenuButton({
items: self.options.references.map(function(reference) {
return {id: reference, title: reference};
}),
//title: 'Documentation',
//width: 128