forked from 0x2620/oxjs
Ox.UI.getImageURL -> Ox.getImageURL
This commit is contained in:
parent
1000cfe73e
commit
4ea696b451
14 changed files with 36 additions and 36 deletions
|
|
@ -145,8 +145,8 @@ Ox.DocPage = function(options, self) {
|
|||
Ox.$('<img>')
|
||||
.attr({
|
||||
src: isExpanded
|
||||
? Ox.UI.getImageURL('symbolDown')
|
||||
: Ox.UI.getImageURL('symbolRight')
|
||||
? Ox.getImageURL('symbolDown')
|
||||
: Ox.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.UI.getImageURL('symbolRight');
|
||||
isExpanded = $this.attr('src') == Ox.getImageURL('symbolRight');
|
||||
$this.attr({
|
||||
src: isExpanded
|
||||
? Ox.UI.getImageURL('symbolDown')
|
||||
: Ox.UI.getImageURL('symbolRight')
|
||||
? Ox.getImageURL('symbolDown')
|
||||
: Ox.getImageURL('symbolRight')
|
||||
});
|
||||
$('.' + className).each(function() {
|
||||
var $this = $(this), isHidden = false;
|
||||
|
|
|
|||
|
|
@ -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.UI.getImageURL('symbolCenter')});
|
||||
$icon = $('<img>').attr({src: Ox.getImageURL('symbolCenter')});
|
||||
}
|
||||
return $icon;
|
||||
}
|
||||
|
|
@ -293,7 +293,7 @@ Ox.DocPanel = function(options, self) {
|
|||
expanded: self.options.expanded,
|
||||
icon: self.options.showTests
|
||||
? getIcon
|
||||
: Ox.UI.getImageURL('symbolCenter'),
|
||||
: Ox.getImageURL('symbolCenter'),
|
||||
items: treeItems,
|
||||
selected: self.options.selected ? [self.options.selected] : '',
|
||||
width: self.options.size
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ Ox.ExamplePanel = function(options, self) {
|
|||
});
|
||||
self.$list = Ox.TreeList({
|
||||
expanded: true,
|
||||
icon: Ox.UI.getImageURL('symbolCenter'),
|
||||
icon: Ox.getImageURL('symbolCenter'),
|
||||
items: treeItems,
|
||||
selected: self.options.selected ? [self.options.selected] : [],
|
||||
width: self.options.size
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue