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,7 +1,7 @@
var _ = require('lodash')
var _s = require('underscore.string')
module.exports = function LogcatServiceFactory(socket, DeviceService, FilterStringService) {
module.exports = function LogcatServiceFactory(socket, FilterStringService) {
var service = {}
service.started = false
service.numberOfEntries = 0