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.
 
 
 
 
 
 

29 lines
858 B

--- !ditz.rubyforge.org,2008-03-06/issue
title: Object.observe() support?
desc: http://wiki.ecmascript.org/doku.php?id=harmony:observe
type: :task
component: duk
release: v0.11
reporter: sva <sami.vaarala@iki.fi>
status: :unstarted
disposition:
creation_time: 2014-03-11 10:02:46.856173 Z
references: []
id: b007ddc7ba522e4d479cfc7f3b3b87ebc6a94741
log_events:
- - 2014-03-11 10:02:47.028953 Z
- sva <sami.vaarala@iki.fi>
- created
- ""
- - 2014-03-11 10:04:25.253384 Z
- sva <sami.vaarala@iki.fi>
- commented
- |-
Object.observe() seems like a pretty heavyweight mechanism. Perhaps something
simpler, like:
* When an object property is written / otherwise modified, add the object to a
list of changed objects (if not already there).
* Allow user code to query / clear this list of objects when appropriate.