Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

docs(ngRepeat): improve the explanation of keys #11310

Closed
wants to merge 1 commit into from

Conversation

jasperSpeicher
Copy link
Contributor

Improve grammar and phrasing on lines 36/37. The existing language uses poor grammar. Another possible replacement is "the order in which keys are returned," but the keys are not actually returned in any order--they are all returned at once, and they have an order. The best phrasing seems to be "the order of keys returned." An even better explanation might actually say what function is returning the keys eg Object.keys. This might read something like "You need to be aware that the JavaScript specification does not define the order of keys returned by Object.keys()," however it is not clear if the original author was referring to Object.keys().

Improve grammar and phrasing on lines 36/37. The existing language uses poor grammar. Another possible replacement is "the order in which keys are returned," but the keys are not actually returned in any order--they are all returned at once, and they have an order. The best phrasing seems to be "the order of keys returned." An even better explanation might actually say what function is returning the keys eg Object.keys. This might read something like "You need to be aware that the JavaScript specification does not define the order of keys returned by Object.keys()," however it is not clear if the original author was referring to Object.keys().
@Narretz Narretz added this to the Backlog milestone Mar 13, 2015
netman92 pushed a commit to netman92/angular.js that referenced this pull request Aug 8, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants