diff options
author | Todd Lee <tlee@imvu.com> | 2012-12-20 10:47:30 -0800 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2013-04-12 14:22:39 +0300 |
commit | eca17e7c1b78673821cef5d093768d5dfbff329d (patch) | |
tree | 2bf94eff9f91191be89f153694fa5b01a50ec959 /src | |
parent | 40773165f4b7481b1e62533cd94c75fa2d73622d (diff) |
stringify key name before checking if the key exists
Diffstat (limited to 'src')
-rw-r--r-- | src/embind/emval.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/embind/emval.js b/src/embind/emval.js index e8ee6baf..49424631 100644 --- a/src/embind/emval.js +++ b/src/embind/emval.js @@ -58,6 +58,7 @@ function __emval_new_cstring(str) { } function __emval_has_property(handle, k) { + k = Pointer_stringify(k); return _emval_handle_array[handle].value.hasOwnProperty(k); } |