summaryrefslogtreecommitdiff
path: root/api/jsapi.txt
diff options
context:
space:
mode:
authorportix <none@none>2012-11-12 01:17:42 +0100
committerportix <none@none>2012-11-12 01:17:42 +0100
commit2d081f63c526c80ebfaa6c7ec8dd172a0fc27f0c (patch)
tree4c00a828cea23e32166675a93312a9aef02e709c /api/jsapi.txt
parent764a3a9fc73810452ba8a0d7c3c8b44c695218a9 (diff)
downloaddwb-2d081f63c526c80ebfaa6c7ec8dd172a0fc27f0c.zip
Implementing Function.curry
Diffstat (limited to 'api/jsapi.txt')
-rw-r--r--api/jsapi.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/api/jsapi.txt b/api/jsapi.txt
index 992423f8..10c36ce2 100644
--- a/api/jsapi.txt
+++ b/api/jsapi.txt
@@ -914,6 +914,18 @@ signals.connect("loadFinished", function(wv) {
------------
====
+****
+[[curry]]
+[float]
+==== *Function.curry()* ====
+[source,javascript]
+----
+Function Function.curry([arg1, ..., argn])
+----
+Returns a copy of function with first n values preassigned.
+
+_arg[n]_;; Arguments that will be preassigned in the new function, optional.
+****