summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatthewsotoudeh <matthewsot@outlook.com>2015-05-10 18:41:38 -0700
committermatthewsotoudeh <matthewsot@outlook.com>2015-05-10 18:41:38 -0700
commit98b7bc251da98fee5dc2d47262351cbd8befd11d (patch)
treeac3a0e9ed4298d74d70d1c81a78ae449a4a5dd2f
parent14f554a8e40cfc8e07dcb5d25511e9dfda8e4b45 (diff)
README spaces
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 638b8fe..c278d09 100644
--- a/README.md
+++ b/README.md
@@ -39,7 +39,11 @@ jfn.defineFunction(object, propertyName, argumentTypes, defaults, function);
```
``object`` is the object you'd like to define the function on
+
``propertyName`` is the name of the function that you'd like to define on ``object``
+
``argumentTypes`` is an array of argument types to match this function with. Pass "*" to have a catchall function.
+
``defaults`` is an array of default values. Note that the last value in ``defaults`` acts as the default value for the last argument specified in ``argumentTypes``
+
``function`` is the function to run
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback