mirror of
https://github.com/openstf/stf
synced 2025-10-05 10:39:25 +02:00
Fix all res/ files with ESLint rules with 0 errors.
This commit is contained in:
parent
1006564ae7
commit
a3f815c118
258 changed files with 1634 additions and 1634 deletions
|
@ -8,15 +8,15 @@ module.exports = function deviceContextMenuDirective($window) {
|
|||
//},
|
||||
transclude: true,
|
||||
template: require('./device-context-menu.jade'),
|
||||
link: function (scope) {
|
||||
link: function(scope) {
|
||||
//var device = scope.device()
|
||||
//var control = scope.control()
|
||||
scope.windowClose = function () {
|
||||
scope.windowClose = function() {
|
||||
$window.close()
|
||||
}
|
||||
|
||||
scope.saveScreenShot = function () {
|
||||
scope.control.screenshot().then(function (result) {
|
||||
scope.saveScreenShot = function() {
|
||||
scope.control.screenshot().then(function(result) {
|
||||
location.href = result.body.href + '?download'
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue