Move modules in subfolders.

This commit is contained in:
Alexis Lahouze 2017-06-10 21:10:52 +02:00
parent 00dac1dec7
commit 12414a9dc7
3 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ var ngResource = require('angular-resource'),
ngBootbox = 'ngBootbox'; ngBootbox = 'ngBootbox';
// FIXME Alexis Lahouze 2017-06-06 move into templates.js. // FIXME Alexis Lahouze 2017-06-06 move into templates.js.
require('../views/account.form.tmpl.html'); require('../../views/account.form.tmpl.html');
var accountModule = angular.module('accountant.accounts', [ var accountModule = angular.module('accountant.accounts', [
ngResource, ngResource,

View File

@ -23,7 +23,7 @@ var moment = require('moment'),
var angular = require('angular'); var angular = require('angular');
require('../views/operation.form.tmpl.html'); require('../../views/operation.form.tmpl.html');
var ngResource = require('angular-resource'), var ngResource = require('angular-resource'),
ngMessages = require('angular-messages'), ngMessages = require('angular-messages'),
@ -34,7 +34,7 @@ var ngResource = require('angular-resource'),
// Note: ngBootbox seems to have no module.exports. // Note: ngBootbox seems to have no module.exports.
ngBootbox = 'ngBootbox'; ngBootbox = 'ngBootbox';
var accountModule = require('./accounts'); var accountModule = require('../accounts');
var operationModule = angular.module('accountant.operations', [ var operationModule = angular.module('accountant.operations', [
accountModule.name, accountModule.name,