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

fix(ngRepeat): allow extra whitespaces in (key,value) of ngRepeat #6833

Closed
wants to merge 1 commit into from

Conversation

SekibOmazic
Copy link
Contributor

Request Type:

How to reproduce:

Component(s): ngRepeat

Impact: small

Complexity: small

This issue is related to:

Detailed Description:

Other Comments:

Whitespaces allowed in (key,value) expression of ngRepeat.

e.g. ( aaa , bbb ) will be accepted by parser

closes #6827

@mary-poppins
Copy link

Thanks for the PR! Please check the items below to help us merge this faster. See the contributing docs for more information.

  • Uses the issue template (#6833)

If you need to make changes to your pull request, you can update the commit with git commit --amend.
Then, update the pull request with git push -f.

Thanks again for your help!

Sorry, something went wrong.

@SekibOmazic
Copy link
Contributor Author

Travis is not really reliable.

@btford
Copy link
Contributor

btford commented Mar 27, 2014

This looks legit. @IgorMinar thoughts? I think this is innocuous.

@pkozlowski-opensource
Copy link
Member

Agree with @btford - we could land it. @SekibOmazic could you please re-base it on top of the current master, as it doesn't merge cleanly any more?

@pkozlowski-opensource pkozlowski-opensource modified the milestones: 1.3.x, Backlog Nov 28, 2014
@pkozlowski-opensource
Copy link
Member

Oh, actually, it looks like it was already solved in master via c9705b7, at least partially.

@SekibOmazic
Copy link
Contributor Author

@pkozlowski-opensource So should I still rebase it?

@googlebot
Copy link

CLAs look good, thanks!

@pkozlowski-opensource
Copy link
Member

@SekibOmazic yes, please. The thing is that some of the changes from your patch landed already via c9705b7, but I don't think this commit has all your changes.

Whitespaces allowed in (key,value) expression of ngRepeat.

e.g. (  aaa  ,   bbb  ) will be accepted by parser

closes angular#6827
@SekibOmazic
Copy link
Contributor Author

@pkozlowski-opensource It's there but Travis seems to be flaky.

@pkozlowski-opensource
Copy link
Member

@SekibOmazic yeh, TravisCI + SauceLabs are giving us headaches those days. Don't worry about those.

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.

angularjs fails to parse "( aaa, bbb) in xxx" (extra space before "aaa") in ngRepeat value
6 participants