All JSHint trough webpack passes now.

This commit is contained in:
Gunther Brunner
2014-09-02 17:25:22 +09:00
parent 176bd002da
commit ce604d8211
21 changed files with 395 additions and 413 deletions

View File

@@ -3,11 +3,9 @@ module.exports = function badgeIconDirective() {
restrict: 'EA',
replace: true,
scope: {
},
template: require('./badge-icon.jade'),
link: function (scope, element, attrs) {
link: function () {
}
}
}

View File

@@ -1,4 +1,4 @@
module.exports = function counterDirective($timeout, $$rAF) {
module.exports = function counterDirective($timeout) {
return {
replace: false,
scope: true,
@@ -52,7 +52,7 @@ module.exports = function counterDirective($timeout, $$rAF) {
}
})
attrs.$observe('countFrom', function (val) {
attrs.$observe('countFrom', function (/*val*/) {
start()
})

View File

@@ -18,7 +18,7 @@ module.exports = function ServiceFactory($modal, $location) {
controller: ModalInstanceCtrl
})
modalInstance.result.then(function (selectedItem) {
modalInstance.result.then(function (/*selectedItem*/) {
}, function () {
})
}

View File

@@ -4,11 +4,9 @@ module.exports = function niceTabDirective() {
restrict: 'E',
replace: true,
scope: {
},
template: require('./nice-tab.jade'),
link: function (scope, element, attrs) {
link: function () {
}
}
}

View File

@@ -4,14 +4,14 @@ module.exports = function niceTabsDirective() {
replace: true,
template: require('./nice-tabs.jade'),
link: function (scope, element, attrs) {
// TODO: add support for 'key' for saving in localstorage
// TODO: add support for 'key' for saving in Settings
// TODO: add support for 'direction=below' for below tabs
scope.$watch(attrs.tabs, function (newValue, oldValue) {
scope.$watch(attrs.tabs, function (newValue) {
scope.tabs = newValue
})
scope.$watch(attrs.filter, function (newValue, oldValue) {
scope.$watch(attrs.filter, function (newValue) {
scope.filter = newValue
})

View File

@@ -5,5 +5,4 @@ require('angular-growl')
module.exports = angular.module('stf/common-ui/notifications', [
'ngAnimate',
'angular-growl'
]).config(['growlProvider', function (growlProvider) {
}])
])

View File

@@ -1,8 +1,7 @@
module.exports = function tooltipsDirective() {
return {
restrict: 'A',
link: function (scope, element, attrs) {
link: function () {
}
}
}