pass in runScript timeout from getApp

This commit is contained in:
Joe Fleming 2015-11-10 16:22:38 -07:00
parent cf889cb91e
commit 97d24e4050

View file

@ -68,7 +68,7 @@ define(function (require) {
runScript: function (fn, timeout) {
var self = this;
timeout = timeout || 10000;
timeout = timeout || 5000;
// wait for deps on window before running script
return self.remote
@ -102,7 +102,7 @@ define(function (require) {
var $ = window.$;
var $scope = $('.content > .application').scope();
return $scope ? $scope.chrome.getApp() : {};
});
}, loadTimeout / 2);
});
},