Clean code.
This commit is contained in:
parent
088a0b0839
commit
fc7d5ecfe3
2 changed files with 1 additions and 2 deletions
|
@ -147,7 +147,6 @@ modulejs.define('info', ['$', 'config'], function ($, config) {
|
|||
|
||||
function addLogin() {
|
||||
|
||||
|
||||
$(loginTemp).appendTo('body');
|
||||
|
||||
if (setup.AS_ADMIN) {
|
||||
|
|
|
@ -8,7 +8,7 @@ modulejs.define('main', ['_', 'core/event'], function (_, event) {
|
|||
|
||||
_.each(modulejs.state(), function (state, id) {
|
||||
|
||||
if (/^ext\/.+/.test(id)) {
|
||||
if (id.indexOf('ext/') === 0) {
|
||||
modulejs.require(id);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue