mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:13:24 +02:00
All JSHint trough webpack passes now.
This commit is contained in:
@@ -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 () {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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()
|
||||
})
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ module.exports = function ServiceFactory($modal, $location) {
|
||||
controller: ModalInstanceCtrl
|
||||
})
|
||||
|
||||
modalInstance.result.then(function (selectedItem) {
|
||||
modalInstance.result.then(function (/*selectedItem*/) {
|
||||
}, function () {
|
||||
})
|
||||
}
|
||||
|
||||
@@ -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 () {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
})
|
||||
|
||||
|
||||
@@ -5,5 +5,4 @@ require('angular-growl')
|
||||
module.exports = angular.module('stf/common-ui/notifications', [
|
||||
'ngAnimate',
|
||||
'angular-growl'
|
||||
]).config(['growlProvider', function (growlProvider) {
|
||||
}])
|
||||
])
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
module.exports = function tooltipsDirective() {
|
||||
return {
|
||||
restrict: 'A',
|
||||
link: function (scope, element, attrs) {
|
||||
|
||||
link: function () {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user