Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

chore(code clean-up): optimize propsFilter #1125

Merged
merged 1 commit into from
Aug 9, 2015

Conversation

haroldcampbell
Copy link
Contributor

Move ‘var keys = Object.keys(props);’ outside of the items.forEach(…)
loop. As previously written, keys will be re-instantiated on every
iteration of the forEach loop.

Move ‘var keys = Object.keys(props);’ outside of the items.forEach(…)
loop. As previously written, keys will be re-instantiated on every
iteration of the forEach loop.
dimirc added a commit that referenced this pull request Aug 9, 2015
chore(code clean-up): optimize propsFilter
@dimirc dimirc merged commit 55b8aaf into angular-ui:master Aug 9, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants