diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2016-08-02 09:20:21 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2016-08-04 06:21:32 +0000 |
commit | 6bcea421991de4c89f4c9bc02b01b370788719c7 (patch) | |
tree | 9278852eb09526f44ea3a2575865fd5e843a420c /src/qml | |
parent | 97b2fc9d643538b55e9738322ea4239a3c9f7851 (diff) |
Fix grammar in JavaScript Host Environment doc
Change-Id: Ib7bc3f62fc27e982f59f1c8b2c2e0cf26306c3b9
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/qml')
-rw-r--r-- | src/qml/doc/src/javascript/hostenvironment.qdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/doc/src/javascript/hostenvironment.qdoc b/src/qml/doc/src/javascript/hostenvironment.qdoc index e613c4fcfb..de8b967d72 100644 --- a/src/qml/doc/src/javascript/hostenvironment.qdoc +++ b/src/qml/doc/src/javascript/hostenvironment.qdoc @@ -110,7 +110,7 @@ console.log("Result: " + a); \endcode Any attempt to modify the global object - either implicitly or explicitly - will -cause an exception. If uncaught, this will result in an warning being printed, +cause an exception. If uncaught, this will result in a warning being printed, that includes the file and line number of the offending code. \li Global code is run in a reduced scope. @@ -120,7 +120,7 @@ code, it is executed in a scope that contains only the external file itself and the global object. That is, it will not have access to the QML objects and properties it \l {Scope and Naming Resolution}{normally would}. -Global code that only accesses script local variable is permitted. This is an +Global code that only accesses script local variables is permitted. This is an example of valid global code. \code |