Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
  • Loading branch information
lifeart committed Feb 6, 2024
1 parent 16a2e83 commit 34c8605
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/ember-compat/ember__destroyable.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export { registerDestructor } from '@lifeart/gxt';

export function destroy() {
debugger;
}
export {
destroy,
isDestroyed,
registerDestructor,
associateDestroyableChild,
} from './../utils/destroyable';
1 change: 1 addition & 0 deletions src/ember-compat/glimmer__tracking__primitives__cache.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { createCache, getValue, isConst } from './../utils/caching-primitives';
5 changes: 5 additions & 0 deletions src/ember-compat/glimmer__tracking__primitives__storage.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export {
createStorage,
getValue,
setValue,
} from './../utils/storage-primitives';
24 changes: 24 additions & 0 deletions vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,30 @@ export default defineConfig(({ mode }) => ({
"ember-math-helpers": "ember-math-helpers/addon",
"ember-set-body-class": "ember-set-body-class/addon",
"@html-next/vertical-collection": "@html-next/vertical-collection/addon",
"@glimmer/tracking/primitives/storage": path.join(
currentPath,
"src",
"ember-compat",
"glimmer__tracking__primitives__storage.ts",
),
"ember-tracked-storage-polyfill": path.join(
currentPath,
"src",
"ember-compat",
"glimmer__tracking__primitives__storage.ts",
),
"@glimmer/tracking/primitives/cache": path.join(
currentPath,
"src",
"ember-compat",
"glimmer__tracking__primitives__cache.ts",
),
"ember-cache-primitive-polyfill": path.join(
currentPath,
"src",
"ember-compat",
"glimmer__tracking__primitives__cache.ts",
),
},
},
}));

0 comments on commit 34c8605

Please sign in to comment.