- No root for now.

This commit is contained in:
Gunther Brunner
2014-03-27 21:37:17 +09:00
parent be6bdcd239
commit 2100924df4
2 changed files with 2 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
module.exports = function ShellCtrl($scope, $rootScope) {
module.exports = function ShellCtrl($scope) {
$scope.results = []
$scope.run = function(command) {
var cmd = $rootScope.control.shell(command)
var cmd = $scope.control.shell(command)
return cmd.promise
.progressed(function(results) {
$scope.results = results