Clean code.

This commit is contained in:
Lars Jung 2014-09-13 18:57:04 +02:00
parent 088a0b0839
commit fc7d5ecfe3
2 changed files with 1 additions and 2 deletions

View file

@ -147,7 +147,6 @@ modulejs.define('info', ['$', 'config'], function ($, config) {
function addLogin() {
$(loginTemp).appendTo('body');
if (setup.AS_ADMIN) {

View file

@ -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);
}
});