Skip to content

Commit

Permalink
Merge pull request #1162 from NullVoxPopuli/use-content-tag
Browse files Browse the repository at this point in the history
Use content-tag so that we can work on Safari / iOS
  • Loading branch information
NullVoxPopuli authored Nov 7, 2023
2 parents 8530e6d + 73ae37c commit f643b12
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 772 deletions.
1 change: 1 addition & 0 deletions packages/ember-repl/addon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
"broccoli-file-creator": "^2.1.1",
"change-case": "^5.1.2",
"common-tags": "^1.8.2",
"content-tag": "github:NullVoxPopuli/content-tag#browser-support-dist",
"line-column": "^1.0.2",
"magic-string": "^0.30.5",
"mdast": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ember-repl/addon/src/browser/cjs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export async function compileJS(code: string, extraModules?: ExtraModules): Prom
}

async function compileGJS({ code: input, name }: Info) {
let preprocessed = preprocess(input, name);
let preprocessed = await preprocess(input, name);
let result = await transform(preprocessed, name);

if (!result) {
Expand Down
2 changes: 1 addition & 1 deletion packages/ember-repl/addon/src/browser/esm/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ async function evalSnippet(code: string) {
}

async function compileGJS({ code: input, name }: Info) {
let preprocessed = preprocess(input, name);
let preprocessed = await preprocess(input, name);
let result = await transform(preprocessed, name, {
modules: false,
});
Expand Down
105 changes: 0 additions & 105 deletions packages/ember-repl/addon/src/browser/eti/babel-plugin.ts

This file was deleted.

7 changes: 0 additions & 7 deletions packages/ember-repl/addon/src/browser/eti/debug.ts

This file was deleted.

Loading

0 comments on commit f643b12

Please sign in to comment.