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.
 
 
 
 
 
 

44 lines
1.4 KiB

--- !ditz.rubyforge.org,2008-03-06/issue
title: add a 'length' property and maybe other function properties to user Duktape/C functions too?
desc: ""
type: :task
component: duk
release: v0.10
reporter: sva <sami.vaarala@iki.fi>
status: :closed
disposition: :fixed
creation_time: 2013-11-04 21:22:21.310962 Z
references: []
id: ff420f0d79620030bf4ccc597577ac489eca8b50
log_events:
- - 2013-11-04 21:22:21.471209 Z
- sva <sami.vaarala@iki.fi>
- created
- ""
- - 2014-01-16 21:33:06.947371 Z
- sva <sami.vaarala@iki.fi>
- assigned to release v0.10 from v0.9
- ""
- - 2014-02-04 19:58:51.950472 Z
- sva <sami.vaarala@iki.fi>
- commented
- |-
Perhaps add a virtual property 'length' based on 'nargs' value. If a concrete
property is written, it could override the virtual property. This is probably
needed by built-ins whose 'length' and 'nargs' don't always match.
This would have the side effect that 'length' couldn't be deleted from Duktape/C
functions.
- - 2014-02-18 12:06:38.357508 Z
- sva <sami.vaarala@iki.fi>
- commented
- Add an intermediate prototype object so that Function.prototype is not polluted?
- - 2014-03-02 22:23:19.268925 Z
- sva <sami.vaarala@iki.fi>
- changed status from unstarted to in_progress
- ""
- - 2014-03-28 10:26:57.751300 Z
- Sami Vaarala <sami.vaarala@iki.fi>
- closed with disposition fixed
- ""