forked from 0x2620/oxjs
rename 'keywords' option to 'references'
This commit is contained in:
parent
9c044300ef
commit
b71d9148d0
2 changed files with 12 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue