From 645e39f1647aa000c8ce6df69f8c6b2a3378f12a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Mon, 20 Feb 2012 13:38:56 +0100 Subject: Mention on_load on module attributes section. --- system/doc/reference_manual/modules.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/system/doc/reference_manual/modules.xml b/system/doc/reference_manual/modules.xml index 0dbc0ab56b..e29b7b8b16 100644 --- a/system/doc/reference_manual/modules.xml +++ b/system/doc/reference_manual/modules.xml @@ -114,6 +114,12 @@ fact(0) -> % |

If this attribute is not specified, the version defaults to the MD5 checksum of the module.

+ -on_load(Function). + +

Names a function that should be run automatically when a + module a loaded. See + code loading for more information.

+
-- cgit v1.2.3 From 4bbff5f00c0b407dcab2575a17cc29422391b339 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Mon, 20 Feb 2012 13:50:41 +0100 Subject: Fix a typo on documentation. desciption -> description. --- system/doc/reference_manual/modules.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/doc/reference_manual/modules.xml b/system/doc/reference_manual/modules.xml index e29b7b8b16..377b2853ca 100644 --- a/system/doc/reference_manual/modules.xml +++ b/system/doc/reference_manual/modules.xml @@ -186,7 +186,7 @@ fact(0) -> % |

Read more in Types and Function specifications.

- The desciption is based on + The description is based on EEP8 - Types and function specifications which will not be further updated. -- cgit v1.2.3