mirror of
https://github.com/hydra-synth/hydra.git
synced 2026-06-16 04:26:10 +02:00
updated eval
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
/* eslint-disable no-eval */
|
||||
|
||||
import CodeMirror from 'codemirror-minified/lib/codemirror'
|
||||
import 'codemirror-minified/mode/javascript/javascript'
|
||||
import 'codemirror-minified/addon/hint/javascript-hint'
|
||||
|
||||
@@ -10,7 +10,7 @@ export default {
|
||||
})().catch(${(err) => log(err.message, "log-error")})`
|
||||
var isError = false
|
||||
try {
|
||||
eval(jsString)
|
||||
window.eval(jsString)
|
||||
// log(jsString)
|
||||
log('')
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user