mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 08:43:45 +02:00
All JSHint trough webpack passes now.
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user