summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative/codingconventions.qdoc
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-04-30 05:26:55 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-04-30 05:27:24 (GMT)
commit77cddec6ea642b073d1d9c017c865e740c0c60bc (patch)
tree6d14cf0504e956777a7016aa5ae05998ccd1ee7d /doc/src/declarative/codingconventions.qdoc
parente900d3b5c026ede908a5b8623f044fff6421fdeb (diff)
downloadQt-77cddec6ea642b073d1d9c017c865e740c0c60bc.zip
Qt-77cddec6ea642b073d1d9c017c865e740c0c60bc.tar.gz
Qt-77cddec6ea642b073d1d9c017c865e740c0c60bc.tar.bz2
Doc fixes
Diffstat (limited to 'doc/src/declarative/codingconventions.qdoc')
-rw-r--r--doc/src/declarative/codingconventions.qdoc6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/declarative/codingconventions.qdoc b/doc/src/declarative/codingconventions.qdoc
index 7ca206b..d0f873d 100644
--- a/doc/src/declarative/codingconventions.qdoc
+++ b/doc/src/declarative/codingconventions.qdoc
@@ -57,7 +57,7 @@ Through our documentation and examples, QML objects are always structured in the
\o id
\o property declarations
\o signal declarations
-\o javascript functions
+\o JavaScript functions
\o object properties
\o child objects
\o states
@@ -102,7 +102,7 @@ we will write this:
\snippet doc/src/snippets/declarative/codingconventions/lists.qml 1
-\section1 Javascript code
+\section1 JavaScript code
If the script is a single expression, we recommend writing it inline:
@@ -116,7 +116,7 @@ If the script is more than a couple of lines long or can be used by different ob
\snippet doc/src/snippets/declarative/codingconventions/javascript.qml 2
-For long scripts, we will put the functions in their own javascript file and import it like this:
+For long scripts, we will put the functions in their own JavaScript file and import it like this:
\snippet doc/src/snippets/declarative/codingconventions/javascript-imports.qml 0