mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:23:28 +02:00
Move most installation functionality to InstallService. This makes it easier to have multiple drop areas while keeping them in sync.
This commit is contained in:
@@ -1,4 +1,13 @@
|
||||
module.exports = function DeviceScreenCtrl($scope, $rootScope, ScalingService) {
|
||||
module.exports = function DeviceScreenCtrl(
|
||||
$scope
|
||||
, $rootScope
|
||||
, ScalingService
|
||||
, InstallService
|
||||
) {
|
||||
$scope.displayError = false
|
||||
$scope.ScalingService = ScalingService
|
||||
|
||||
$scope.installFile = function ($files) {
|
||||
return InstallService.installFile($scope.control, $files)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user