mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-23 22:35:25 +02:00
JSHint fixes.
This commit is contained in:
@@ -6,7 +6,7 @@ module.exports = function errorMessageDirective() {
|
||||
message: '@'
|
||||
},
|
||||
template: require('./error-message.jade'),
|
||||
link: function (scope, element, attrs) {
|
||||
link: function (scope) {
|
||||
scope.closeMessage = function () {
|
||||
scope.message = ''
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ module.exports = function deviceContextMenuDirective($window) {
|
||||
//},
|
||||
transclude: true,
|
||||
template: require('./device-context-menu.jade'),
|
||||
link: function (scope, element, attrs) {
|
||||
link: function (scope) {
|
||||
//var device = scope.device()
|
||||
//var control = scope.control()
|
||||
scope.windowClose = function () {
|
||||
|
||||
@@ -74,7 +74,7 @@ module.exports =
|
||||
newWindow.document.title = windowTitle
|
||||
}
|
||||
|
||||
setTimeout(function () {
|
||||
$timeout(function () {
|
||||
if (newWindow.document) {
|
||||
newWindow.document.title = windowTitle
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user