Skip to content

Commit

Permalink
fix(glimmer-wrapper): add normalize method for Registry#has
Browse files Browse the repository at this point in the history
  • Loading branch information
buschtoens committed Dec 20, 2018
1 parent 7338be0 commit 226e484
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mu-trees/addon/resolvers/glimmer-wrapper/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ const Resolver = GlobalsResolver.extend({
this._glimmerResolver = new GlimmerResolver(this.config, this.glimmerModuleRegistry);
},

normalize: null,
normalize(specifier) {
return cleanupEmberSpecifier(specifier)[0];
},

expandLocalLookup(specifier, source, namespace) {
if (isAbsoluteSpecifier(specifier)) {
Expand Down

0 comments on commit 226e484

Please sign in to comment.