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

@@ -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
})