Skip to content

Commit

Permalink
feat(common): ldml import infrastructure 🙀
Browse files Browse the repository at this point in the history
For: #9403

- Just use a local Symbol() instead of a named one, there's no reason for a namespace here.
  • Loading branch information
srl295 committed Sep 25, 2023
1 parent f56e4ff commit 2726604
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/web/types/src/ldml-keyboard/ldml-keyboard-xml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,9 @@ export interface LKScanCodes {
*/
export class ImportStatus {
/** item came in via implied (spec based) import, such as keys-Latn-implied.xml */
static impliedImport = Symbol.for('@keymanapp:implied_import');
static impliedImport = Symbol('LDML implied import');
/** item came in via import */
static import = Symbol.for('@keymanapp:import');
static import = Symbol('LDML import');

/** @returns true if the object was loaded through an implied import */
static isImpliedImport(o : any) : boolean {
Expand Down

0 comments on commit 2726604

Please sign in to comment.