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

refactor(tests/spec/SpecHelper): avoid call() #1985

Merged
merged 6 commits into from
Jan 1, 2019
Merged

Conversation

saschanaz
Copy link
Collaborator

as call() makes code hard to read 🤔

@saschanaz
Copy link
Collaborator Author

saschanaz commented Dec 31, 2018

This should also fix the problem in #1981 where ReSpec is incorrectly loaded twice.

Inserting ReSpec twice has not been a problem with requirejs as 1) previously ReSpec has been a set of AMD modules 2) defining an AMD module twice does not overwrite the previous one. With webpack ReSpec is not a set of modules anymore, so it becomes a problem.

Copy link
Member

@sidvishnoi sidvishnoi left a comment

Choose a reason for hiding this comment

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

Happy new year! 🎉

Copy link
Contributor

@marcoscaceres marcoscaceres left a comment

Choose a reason for hiding this comment

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

Looks good.

@saschanaz saschanaz merged commit ebb4d79 into develop Jan 1, 2019
@saschanaz saschanaz deleted the refactor-spechelper branch January 1, 2019 04:20
@saschanaz
Copy link
Collaborator Author

Happy 2019!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants