You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
978 B

--- !ditz.rubyforge.org,2008-03-06/issue
title: api for setting the global object
desc: |-
Currently there is no way to replace the global object with another.
It would be nice for sandboxing setup to be able to create a fresh
object, populate it however you wish, and then replace the global
object.
Needs to be doable from C, perhaps not from Ecmascript.
type: :task
component: duk
release: v0.12
reporter: Sami Vaarala <sami.vaarala@iki.fi>
status: :closed
disposition: :fixed
creation_time: 2014-06-26 11:28:39.450195 Z
references: []
id: 6c75d4f4f272ae099557c961b25c1011e08163bc
log_events:
- - 2014-06-26 11:28:39.610167 Z
- Sami Vaarala <sami.vaarala@iki.fi>
- created
- ""
- - 2014-09-01 08:07:44.399558 Z
- Sami Vaarala <sami.vaarala@iki.fi>
- commented
- Also the global lexical environment needs to be updated in the process.
- - 2014-09-19 15:20:30.679763 Z
- Sami Vaarala <sami.vaarala@iki.fi>
- closed with disposition fixed
- ""