Skip to content

Commit

Permalink
Remove unused arguments for Registry (#63)
Browse files Browse the repository at this point in the history
Remove unused arguments for Registry
  • Loading branch information
rwjblue committed Jun 20, 2019
2 parents 114bfa9 + b2a10af commit 4f7418e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
const debug = require('debug')('ember-cli:registry');

class Registry {
constructor(app) {
this.registry = { };
this.app = app;
constructor() {
this.registry = {};
}

extensionsForType(type) {
Expand Down
5 changes: 2 additions & 3 deletions preprocessors.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,9 @@ module.exports.setupRegistry = function(appOrAddon) {
@private
@method defaultRegistry
@param app
*/
module.exports.defaultRegistry = function(app) {
let registry = new Registry(app.dependencies(), app);
module.exports.defaultRegistry = function() {
let registry = new Registry();

return registry;
};
Expand Down

0 comments on commit 4f7418e

Please sign in to comment.