Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Useless variable in callback #13

Closed
paulRbr opened this issue Jun 12, 2014 · 1 comment
Closed

Useless variable in callback #13

paulRbr opened this issue Jun 12, 2014 · 1 comment

Comments

@paulRbr
Copy link

paulRbr commented Jun 12, 2014

CF: https://github.com/squareteam/angular-coq/blob/master/lib/directives/coq-model.js#L24

The variable type in the callback seems useless, no?

@charlypoly
Copy link
Contributor

Yep angular.forEach call with (value, key) (see here) but i should do this :

angular.forEach(coqModelController.coqModel.$attributesDefinition, function(_, name) {
  /* ... */
});

@charlypoly charlypoly added this to the Coq Directive milestone Jun 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants