Skip to content

Commit c0739a9

Browse files
committed
Evaluator is now no longer needed
1 parent 51caaea commit c0739a9

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

packages/@ember/template-compiler/lib/template.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -253,10 +253,6 @@ export function template(
253253
return component;
254254
}
255255

256-
const evaluator = (source: string) => {
257-
return new Function(`return ${source}`)();
258-
};
259-
260256
/**
261257
* Builds the source wireformat JSON block
262258
*

0 commit comments

Comments
 (0)