Rename "input" plugin to "service". It does many more things than just input.

This commit is contained in:
Simo Kinnunen
2014-05-01 17:45:37 +09:00
parent 395e59a33f
commit 9041eabfc1
6 changed files with 24 additions and 24 deletions

View File

@@ -8,8 +8,8 @@ module.exports = syrup.serial()
.dependency(require('../support/router'))
.dependency(require('../support/push'))
.dependency(require('../support/adb'))
.dependency(require('./input'))
.define(function(options, router, push, adb, input) {
.dependency(require('./service'))
.define(function(options, router, push, adb, service) {
var log = logger.createLogger('device:plugins:browsers')
function pkg(component) {
@@ -17,7 +17,7 @@ module.exports = syrup.serial()
}
log.info('Fetching browser list')
return input.getBrowsers()
return service.getBrowsers()
.timeout(15000)
.then(function(browsers) {
browsers.apps.forEach(function(app) {