summaryrefslogtreecommitdiff
path: root/api/jsapi.7.txt
diff options
context:
space:
mode:
Diffstat (limited to 'api/jsapi.7.txt')
-rw-r--r--api/jsapi.7.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/api/jsapi.7.txt b/api/jsapi.7.txt
index 10330aef..8a13d57c 100644
--- a/api/jsapi.7.txt
+++ b/api/jsapi.7.txt
@@ -121,6 +121,14 @@ _name_;; Name of the module
_module_;; The module
****
+==== void replace(String name, Object module)
+****
+Same as provide but replaces the module if it was already defined.
+
+_name_;; Name of the module
+_module_;; The module
+****
+
==== void require(Array names, Function callback)
****
Load modules defined with provide.