Fixed most of the dependencies by unit testing.

Refactored TransactionService and StorageService.
This commit is contained in:
Gunther Brunner
2014-08-22 15:32:09 +09:00
parent e27e17d699
commit aad3db8828
16 changed files with 32 additions and 18 deletions

View File

@@ -1,6 +1,5 @@
module.exports = angular.module('stf/control', [
require('stf/socket').name
require('stf/socket').name,
require('stf/transaction').name
])
.factory('TransactionService', require('./transaction-service'))
.factory('ControlService', require('./control-service'))
.factory('StorageService', require('./storage-service'))