From df3a9ae39dab4623dd1716f6748b732bc3cd5fc7 Mon Sep 17 00:00:00 2001 From: Bert De Block Date: Fri, 13 Jan 2023 15:28:42 +0100 Subject: [PATCH] Remove use of `@ember/string` --- addon/initializer-factory.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/addon/initializer-factory.js b/addon/initializer-factory.js index dffdecd..f69267b 100644 --- a/addon/initializer-factory.js +++ b/addon/initializer-factory.js @@ -1,5 +1,4 @@ import Ember from 'ember'; -import { classify } from '@ember/string'; const { libraries } = Ember; @@ -8,8 +7,7 @@ export default function initializerFactory(name, version) { return function () { if (!registered && name && version) { - let appName = classify(name); - libraries.register(appName, version); + libraries.register(name, version); registered = true; } };