mirror of https://github.com/svaarala/duktape.git
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
1.1 KiB
32 lines
1.1 KiB
--- !ditz.rubyforge.org,2008-03-06/issue
|
|
title: "api: minor cleanups to api_{get,put,has,del}_prop() API calls"
|
|
desc: |-
|
|
Cleanup property API documentation and return value behavior.
|
|
|
|
* duk_del_prop() and duk_put_prop(): Return value is now pointless when Duktape API calls are strict.
|
|
|
|
* duk_get_prop(): Guarantee '1' instead of non-zero for return value?
|
|
|
|
A counter-argument for keeping the return values is that perhaps the strictness
|
|
behavior will change at some point and will again be useful. Another case might
|
|
be a debugger interface, where the debugger can interact with properties using
|
|
this API, even when the current activation is an Ecmascript one.
|
|
type: :task
|
|
component: duk
|
|
release: v1.0
|
|
reporter: Sami Vaarala <sami.vaarala@iki.fi>
|
|
status: :closed
|
|
disposition: :fixed
|
|
creation_time: 2014-09-16 20:32:19.005169 Z
|
|
references: []
|
|
|
|
id: 828ad9c6ee5fd9bf8dbb88ca85fc7126f962fd7a
|
|
log_events:
|
|
- - 2014-09-16 20:32:19.186324 Z
|
|
- Sami Vaarala <sami.vaarala@iki.fi>
|
|
- created
|
|
- ""
|
|
- - 2014-10-13 13:49:35.620548 Z
|
|
- Sami Vaarala <sami.vaarala@iki.fi>
|
|
- closed with disposition fixed
|
|
- ""
|
|
|