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

[Loader]: Several bug fixes. #1743

Merged
merged 7 commits into from Apr 1, 2014
Merged

[Loader]: Several bug fixes. #1743

merged 7 commits into from Apr 1, 2014

Conversation

ezequiel
Copy link
Contributor

@ezequiel ezequiel commented Apr 1, 2014

  1. A module's lang packs were not being included before the module itself.
  2. before was not working (see: [loader] before in conditions is being ignored #1661).
  3. A CSS module could not require a js module. (see: http://jsbin.com/hafibawa/13/edit and CSS module loads out of order #1680).

Updated five tests related to lang packs that I erroneously changed in #1606.

@yahoocla
Copy link

yahoocla commented Apr 1, 2014

CLA is valid!


// We cannot process this dependency yet if it must
// appear after our current module.
isntAfter = !trigger || (trigger.when && trigger.when !== "after");
Copy link
Member

Choose a reason for hiding this comment

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

we should avoid negative variable names, I will propose insertAfter.

Copy link
Member

Choose a reason for hiding this comment

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

that will also simplify the code.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks.

@ericf
Copy link
Member

ericf commented Apr 1, 2014

Seems good. What introduced these bugs?

@ezequiel
Copy link
Contributor Author

ezequiel commented Apr 1, 2014

@ericf: The changes in my recent calculate optimization (#1606). 🚶

@ericf
Copy link
Member

ericf commented Apr 1, 2014

Cool. Let's get these in then!

@ezequiel ezequiel merged commit 761af78 into yui:dev-master Apr 1, 2014
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.

None yet

5 participants