1 | import { libraries } from '@ember/-internals/metal';
|
2 |
|
3 | export default function initializerFactory(name, version) {
|
4 | let registered = false;
|
5 |
|
6 | return function () {
|
7 | if (!registered && name && version) {
|
8 | libraries.register(name, version);
|
9 | registered = true;
|
10 | }
|
11 | };
|
12 | }
|