mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-16 18:24:08 +02:00
Clean code.
This commit is contained in:
@@ -147,7 +147,6 @@ modulejs.define('info', ['$', 'config'], function ($, config) {
|
|||||||
|
|
||||||
function addLogin() {
|
function addLogin() {
|
||||||
|
|
||||||
|
|
||||||
$(loginTemp).appendTo('body');
|
$(loginTemp).appendTo('body');
|
||||||
|
|
||||||
if (setup.AS_ADMIN) {
|
if (setup.AS_ADMIN) {
|
||||||
|
@@ -8,7 +8,7 @@ modulejs.define('main', ['_', 'core/event'], function (_, event) {
|
|||||||
|
|
||||||
_.each(modulejs.state(), function (state, id) {
|
_.each(modulejs.state(), function (state, id) {
|
||||||
|
|
||||||
if (/^ext\/.+/.test(id)) {
|
if (id.indexOf('ext/') === 0) {
|
||||||
modulejs.require(id);
|
modulejs.require(id);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user