diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-04-24 16:09:28 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-04-24 16:09:28 -0700 |
commit | dd5f2aa4d74f57184bbf0f947a64a2f6925d0bc4 (patch) | |
tree | 7ccb84d9728f5cff22731d841a7c28bf60cfb229 | |
parent | a81c27d892bf51f6f472c96c44833c0ff5393745 (diff) | |
parent | c22321bcfb48f7130f3ad1872df7f89127dea6ff (diff) |
Merge pull request #1090 from inolen/incoming
Persist return value for wrapped functions
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | src/runtime.js | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -68,3 +68,4 @@ a license to everyone to use it as detailed in LICENSE.) * Llorens Marti Garcia <lgarcia@imvu.com> (copyright owned by IMVU) * Jinsuck Kim <jkim@imvu.com> (copyright owned by IMVU) * Todd Lee <tlee@imvu.com> (copyright owned by IMVU) +* Anthony Pesch <inolen@gmail.com>
\ No newline at end of file diff --git a/src/runtime.js b/src/runtime.js index 5b9a8134..5269301c 100644 --- a/src/runtime.js +++ b/src/runtime.js @@ -350,7 +350,7 @@ var Runtime = { assert(sig); if (!Runtime.funcWrappers[func]) { Runtime.funcWrappers[func] = function() { - Runtime.dynCall(sig, func, arguments); + return Runtime.dynCall(sig, func, arguments); }; } return Runtime.funcWrappers[func]; |