Idris-dev/jsrts
fiendfan1 15590d7107 Fix function wrapping bug in JavaScript RTS
`i$ffiWrap` was basically apply the first argument over
and over instead of for looping through each argument.
ie.

```JavaScript
foreach(arg in arguments) {
  while(function is not fully applied) {
    func.apply(arg);
  }
}
```

This has made it impossible to use native JavaScript
higher-order functions through the FFI.

`make test_js` passes, but I'm not familiar with the
js codegen/rts, so someone should check and make sure this
is correct.
2015-02-04 16:32:45 -08:00
..
jsbn javascript: remove old namespaces 2014-06-28 02:08:11 +02:00
Runtime-browser.js javascript: adjust functionnames 2014-06-24 20:48:55 +02:00
Runtime-common.js Fix function wrapping bug in JavaScript RTS 2015-02-04 16:32:45 -08:00
Runtime-node.js javascript: adjust functionnames 2014-06-24 20:48:55 +02:00