Skip to content

Conversation

@loganlinn
Copy link
Contributor

Move logic around to avoid evaluating dependencies twice in certain code path

Move logic around to avoid evaluating dependencies twice in certain code path
src/evaluator.js Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

pretty minor, but this could be put inside the isEqual if block

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jordangarcia
Copy link
Contributor

This is causing an evaluator test to fail. Will look into it.

@jordangarcia
Copy link
Contributor

@loganlinn would you mind merging master so that CI will run properly.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 7534f03 on loganlinn:dependency-eval-cleanup into 951fbbc on optimizely:master.

jordangarcia added a commit that referenced this pull request May 14, 2015
Evaluate stale getter deps only once
@jordangarcia jordangarcia merged commit d5682cb into optimizely:master May 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants