We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6daf643 commit 152b8e2Copy full SHA for 152b8e2
src/utils/castBackend.ts
@@ -15,7 +15,7 @@ export const castLibrary = (lib: any): Library => ({
15
globals: Object.entries(lib.globals as object).map(entry => {
16
/** The value that is passed is evaluated into an actual JS value */
17
try {
18
- entry[0] = (window as any).eval(entry[1])
+ entry[1] = (window as any).eval(entry[1])
19
} catch (e) {}
20
return entry
21
})
0 commit comments