Skip to content

Conversation

@tpinetz
Copy link

@tpinetz tpinetz commented Mar 11, 2016

Fixed changes proposed in: #32.

Tested it on ebiz-framework @ Schenker.

*/
angular.module('cat.directives.confirmClick', [])
.directive('catConfirmClick', function CatConfirmClickDirective() {
.directive('catConfirmClick', function CatConfirmClickDirective(catI18nService, $parse) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use the array notation

.directive('catConfirmClick', [
    'catI18nService',
    '$parse',
    function CatConfirmClickDirective(catI18nService, $parse) { /*...*/}
])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants