1
0
Fork 0
forked from 0x2620/oxjs

Ox -> Ox.UI

This commit is contained in:
rlx 2014-09-26 14:31:20 +02:00
commit 552aba4271
17 changed files with 46 additions and 46 deletions

View file

@ -145,8 +145,8 @@ Ox.DocPage = function(options, self) {
Ox.$('<img>')
.attr({
src: isExpanded
? Ox.getImageURL('symbolDown')
: Ox.getImageURL('symbolRight')
? Ox.UI.getImageURL('symbolDown')
: Ox.UI.getImageURL('symbolRight')
})
.css({
width: '12px',
@ -156,11 +156,11 @@ Ox.DocPage = function(options, self) {
.on({
click: function() {
var $this = $(this),
isExpanded = $this.attr('src') == Ox.getImageURL('symbolRight');
isExpanded = $this.attr('src') == Ox.UI.getImageURL('symbolRight');
$this.attr({
src: isExpanded
? Ox.getImageURL('symbolDown')
: Ox.getImageURL('symbolRight')
? Ox.UI.getImageURL('symbolDown')
: Ox.UI.getImageURL('symbolRight')
});
$('.' + className).each(function() {
var $this = $(this), isHidden = false;

View file

@ -197,7 +197,7 @@ Ox.DocPanel = function(options, self) {
self.options.showTooltips ? getTooltip(results) : null
);
} else if (!Ox.endsWith(id, '/')) {
$icon = $('<img>').attr({src: Ox.getImageURL('symbolCenter')});
$icon = $('<img>').attr({src: Ox.UI.getImageURL('symbolCenter')});
}
return $icon;
}
@ -293,7 +293,7 @@ Ox.DocPanel = function(options, self) {
expanded: self.options.expanded,
icon: self.options.showTests
? getIcon
: Ox.getImageURL('symbolCenter'),
: Ox.UI.getImageURL('symbolCenter'),
items: treeItems,
selected: self.options.selected ? [self.options.selected] : '',
width: self.options.size

View file

@ -75,7 +75,7 @@ Ox.ExamplePanel = function(options, self) {
});
self.$list = Ox.TreeList({
expanded: true,
icon: Ox.getImageURL('symbolCenter'),
icon: Ox.UI.getImageURL('symbolCenter'),
items: treeItems,
selected: self.options.selected ? [self.options.selected] : [],
width: self.options.size