Skip to content

Commit

Permalink
chore: fix eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
Narretz committed Jun 23, 2018
1 parent 9307ccf commit a90d0cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/app/src/directives.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ directivesModule
bindings: {
items: '<'
},
controller: ['$location', function($location) {
controller: ['$location', /** @this */ function($location) {
this.path = $location.path().replace(/^\/?(.+?)(\/index)?\/?$/, '$1');
}]
})
Expand Down

0 comments on commit a90d0cb

Please sign in to comment.