Merge pull request #86 from hiikion/main

Fix issue #85
This commit is contained in:
Andrey 2023-06-22 17:13:09 +04:00 committed by GitHub
commit f4f8080c4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -139,6 +139,7 @@ class Js2PyInterpreter(Interpreter):
ctx.execute('window.Map = function(_i){ };') ctx.execute('window.Map = function(_i){ };')
ctx.execute('window.setTimeout = function(_f,_t){ };') ctx.execute('window.setTimeout = function(_f,_t){ };')
ctx.execute('window.setInterval = function(_f,_t){ };') ctx.execute('window.setInterval = function(_f,_t){ };')
ctx.execute('document.getElementById = function(_a) { };')
ctx.execute('window.encodeURIComponent = function(_s){ };') ctx.execute('window.encodeURIComponent = function(_s){ };')
self.ctx = ctx self.ctx = ctx