mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-28 00:35:18 +02:00
remove timeout
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
module.exports = function FsCtrl($scope, $timeout) {
|
module.exports = function FsCtrl($scope) {
|
||||||
$scope.search = ''
|
$scope.search = ''
|
||||||
$scope.files = [];
|
$scope.files = [];
|
||||||
$scope.paths = [];
|
$scope.paths = [];
|
||||||
@@ -43,8 +43,5 @@ module.exports = function FsCtrl($scope, $timeout) {
|
|||||||
|
|
||||||
|
|
||||||
// init
|
// init
|
||||||
// $scope.list($scope.dir); // FIXME(ssx): can't call immediately, do not known why.
|
listdir($scope.dir);
|
||||||
$timeout(function(){
|
|
||||||
listdir();
|
|
||||||
}, 800);
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user