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.
|
|
|
--- !ditz.rubyforge.org,2008-03-06/issue
|
|
|
|
title: "api: add a duk_get_boolean() variant which coerces the target without modifying it"
|
|
|
|
desc: |-
|
|
|
|
In other words, make a copy of the value, boolean coerce it, and return
|
|
|
|
the boolean. The original value in the call stack should not be modified.
|
|
|
|
|
|
|
|
This primitive would be closest to how an if-statement behaves in
|
|
|
|
Ecmacsript code. The current duk_get_boolean() does not coerce its
|
|
|
|
target, so it can return somewhat unexpected values.
|
|
|
|
type: :task
|
|
|
|
component: duk
|
|
|
|
release: v1.1
|
|
|
|
reporter: Sami Vaarala <sami.vaarala@iki.fi>
|
|
|
|
status: :unstarted
|
|
|
|
disposition:
|
|
|
|
creation_time: 2014-09-16 20:28:03.872028 Z
|
|
|
|
references: []
|
|
|
|
|
|
|
|
id: a40e9b7026220c573c952bce9c44f4864d90bb35
|
|
|
|
log_events:
|
|
|
|
- - 2014-09-16 20:28:04.044978 Z
|
|
|
|
- Sami Vaarala <sami.vaarala@iki.fi>
|
|
|
|
- created
|
|
|
|
- ""
|
|
|
|
- - 2014-10-03 12:21:48.958622 Z
|
|
|
|
- Sami Vaarala <sami.vaarala@iki.fi>
|
|
|
|
- assigned to release v1.1 from v1.0
|
|
|
|
- ""
|