forked from 0x2620/oxjs
fixing encoding functions (deflate, png)
This commit is contained in:
parent
318e2e95b2
commit
816993e1b9
10 changed files with 235 additions and 143 deletions
|
|
@ -106,9 +106,9 @@ Ox.DocPanel = function(options, self) {
|
|||
}
|
||||
}
|
||||
(
|
||||
docItem.section ?
|
||||
treeItems[moduleIndex].items[sectionIndex] :
|
||||
treeItems[moduleIndex]
|
||||
docItem.section
|
||||
? treeItems[moduleIndex].items[sectionIndex]
|
||||
: treeItems[moduleIndex]
|
||||
).items.push({
|
||||
id: docItem.name,
|
||||
title: docItem.name
|
||||
|
|
@ -119,7 +119,7 @@ Ox.DocPanel = function(options, self) {
|
|||
item.items.sort(sortByTitle);
|
||||
item.items.forEach(function(subitem) {
|
||||
subitem.items.sort(sortByTitle);
|
||||
})
|
||||
});
|
||||
});
|
||||
self.$list = Ox.TreeList({
|
||||
items: treeItems,
|
||||
|
|
@ -154,7 +154,6 @@ Ox.DocPanel = function(options, self) {
|
|||
var selected;
|
||||
if (data.ids.length) {
|
||||
selected = data.ids[0];
|
||||
Ox.print('selected', data.ids)
|
||||
if (selected[0] != '_') {
|
||||
self.$page = Ox.DocPage({
|
||||
item: getItemByName(selected)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue