diff options
author | Christoph VogtlÃĪnder <c.vogtlaender@sigma-surface-science.com> | 2014-12-02 11:11:44 +0100 |
---|---|---|
committer | Niels Weber <niels.weber@theqtcompany.com> | 2014-12-02 12:13:33 +0100 |
commit | 02698bfb3d6e2a0b403c360805c40605263d80f2 (patch) | |
tree | 559a88a6823056cf262e66ab75c59af521855526 /doc/noninteractive.qdoc | |
parent | c5ccdf37c086da62123724f09a58103cdb8ce39f (diff) |
fix documentation
Controller Scripting: added missing parentheses to "function Controller",
using a script without the parentheses will result in "create
Error-Exception: "Exception while loading the component script '<script>'.
(SyntaxError: Expected token `(')" when running maintenance tool.
Change-Id: I2e432f80ab4e85919d6b7e76fd5b3834e9d30097
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Diffstat (limited to 'doc/noninteractive.qdoc')
-rw-r--r-- | doc/noninteractive.qdoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/noninteractive.qdoc b/doc/noninteractive.qdoc index a1ddcb0da..4576dd8ca 100644 --- a/doc/noninteractive.qdoc +++ b/doc/noninteractive.qdoc @@ -42,14 +42,14 @@ A minimal valid script needs to contain at least a constructor, which can look like this: \code - function Controller + function Controller() { } \endcode A bit more advanced script is presented here: \code - function Controller + function Controller() { } @@ -143,7 +143,7 @@ Example code: \code - function Controller + function Controller() { var widget = gui.pageById(QInstaller.Introduction); // get the introduction wizard page if (widget != null) |