Exports module name instead of module itself.

This commit is contained in:
Alexis Lahouze
2017-07-06 10:35:15 +02:00
parent d7de013954
commit a7f37e88a9
7 changed files with 25 additions and 25 deletions

View File

@ -28,7 +28,7 @@ var ngMessages = require('angular-messages'),
ngUiNotification = require('angular-ui-notification'),
ngStrap = require('angular-strap');
var schedulerModule = angular.module('accountant.scheduler', [
module.exports = angular.module('accountant.scheduler', [
ngMessages,
ngUiBootstrap,
ngUiNotification,
@ -225,6 +225,6 @@ var schedulerModule = angular.module('accountant.scheduler', [
}
};
}
});
})
module.exports = schedulerModule;
.name;