chore(docs): fix linting issue

This commit is contained in:
Pete Bacon Darwin
2018-11-14 09:45:37 +00:00
parent 7a88a34228
commit 33b5c5067e
+1 -1
View File
@@ -98,7 +98,7 @@ directivesModule
bindings: {
items: '<'
},
controller: ['$location', function($location) {
controller: ['$location', function TocTreeController($location) {
this.path = $location.path().replace(/^\/?(.+?)(\/index)?\/?$/, '$1');
}]
})