JSHint fixes.

This commit is contained in:
Gunther Brunner
2014-09-30 14:23:52 +09:00
parent 4bb0c4cb82
commit f0b111cdf6
4 changed files with 5 additions and 5 deletions

View File

@@ -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 = ''
}

View File

@@ -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 () {

View File

@@ -74,7 +74,7 @@ module.exports =
newWindow.document.title = windowTitle
}
setTimeout(function () {
$timeout(function () {
if (newWindow.document) {
newWindow.document.title = windowTitle
}