Some bug fixes in extensions
This commit is contained in:
1 parent
f6ad84c885
commit
b9e17c9add
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -54,7 +54,7 @@ Object.defineProperty(sandbox.context, 'ext', {value: () ->
|
||||
|
||||
extCall = (String(a) for a in arguments)
|
||||
key = JSON.stringify(extCall)
|
||||
if not sandbox.extensionsCache[sandbox.revision]?[key]?
|
||||
if not sandbox.extensionsCache[sandbox.revision]? or key not of sandbox.extensionsCache[sandbox.revision]
|
||||
sandbox.extensions = [extCall]
|
||||
throw new Exit()
|
||||
|
||||
|
||||
Reference in new issue
Block a user