mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 03:53:28 +02:00
Removing $rootScope for device and control, not needed anymore.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
module.exports = function ShellCtrl($scope, $rootScope, gettext) {
|
||||
module.exports = function ShellCtrl($scope, gettext) {
|
||||
// TODO: implement multiple devices
|
||||
// $scope.results = []
|
||||
$scope.result = null
|
||||
@@ -11,7 +11,7 @@ module.exports = function ShellCtrl($scope, $rootScope, gettext) {
|
||||
return
|
||||
}
|
||||
|
||||
var cmd = $rootScope.control.shell(command)
|
||||
var cmd = $scope.control.shell(command)
|
||||
$scope.command = ''
|
||||
|
||||
return cmd.promise
|
||||
|
||||
Reference in New Issue
Block a user