mirror of
https://github.com/lrsjng/h5ai.git
synced 2024-09-20 04:38:51 -04:00
Clean code.
This commit is contained in:
parent
d9ff0c3cf4
commit
088a0b0839
2 changed files with 2 additions and 3 deletions
|
@ -16,8 +16,8 @@ modulejs.define('core/resource', ['_', '$', 'config', 'core/settings'], function
|
|||
|
||||
function icon(id) {
|
||||
|
||||
var baseId = id.split('-')[0],
|
||||
href = config.theme[id] || config.theme[baseId];
|
||||
var baseId = id.split('-')[0];
|
||||
var href = config.theme[id] || config.theme[baseId];
|
||||
|
||||
if (href) {
|
||||
return themesHref + href;
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
modulejs.define('core/server', ['$', '_', 'config', 'core/location'], function ($, _, config, location) {
|
||||
|
||||
|
||||
var hasApi = config.setup.API === true;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue