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

Assert against get, not normalize #190

Merged
merged 1 commit into from
Jun 9, 2017

Conversation

mixonic
Copy link
Member

@mixonic mixonic commented Jun 2, 2017

Allow requirejs to be passed to the module registry, avoid testing the internal _normalize method.

@@ -5,12 +5,13 @@ import {

export default class RequireJSRegistry {

constructor(config, modulePrefix) {
constructor(config, modulePrefix, require=window.requirejs) {
Copy link
Contributor

Choose a reason for hiding this comment

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

self so it could work in a worker

@mixonic mixonic merged commit 9dec996 into ember-cli:master Jun 9, 2017
@mixonic mixonic deleted the no-normalize branch June 9, 2017 16:49
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.

2 participants