don't cache getImageURL (missing theme parameter -> different return values)
This commit is contained in:
parent
5a9ed23252
commit
66a041ef30
1 changed files with 2 additions and 2 deletions
|
@ -327,7 +327,7 @@ Ox.load.UI = function(options, callback) {
|
||||||
color <s|[n]> Color name or RGB values
|
color <s|[n]> Color name or RGB values
|
||||||
theme <s> Theme name
|
theme <s> Theme name
|
||||||
@*/
|
@*/
|
||||||
Ox.UI.getImageURL = Ox.cache(function(name, color, theme) {
|
Ox.UI.getImageURL = function(name, color, theme) {
|
||||||
var colorName,
|
var colorName,
|
||||||
image = images[name],
|
image = images[name],
|
||||||
themeData,
|
themeData,
|
||||||
|
@ -355,7 +355,7 @@ Ox.load.UI = function(options, callback) {
|
||||||
name: name, theme: theme
|
name: name, theme: theme
|
||||||
})) + '-->'
|
})) + '-->'
|
||||||
);
|
);
|
||||||
});
|
};
|
||||||
/*@
|
/*@
|
||||||
Ox.UI.getVideoFormat <f> Get supported video formats
|
Ox.UI.getVideoFormat <f> Get supported video formats
|
||||||
(formats) -> <a> of supported formats
|
(formats) -> <a> of supported formats
|
||||||
|
|
Loading…
Reference in a new issue