summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-04-16 08:34:10 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-04-16 08:34:10 (GMT)
commit269623184ee55bd8126cf3ae5cfb619d3bdda91b (patch)
treeffc4665ddcd77ab10b0ce209f380c95e662f0c07 /doc
parent731071ed146febd8d93e1897e7f1aba135ac23c4 (diff)
downloadQt-269623184ee55bd8126cf3ae5cfb619d3bdda91b.zip
Qt-269623184ee55bd8126cf3ae5cfb619d3bdda91b.tar.gz
Qt-269623184ee55bd8126cf3ae5cfb619d3bdda91b.tar.bz2
Doc
Diffstat (limited to 'doc')
-rw-r--r--doc/src/declarative/javascriptblocks.qdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/declarative/javascriptblocks.qdoc b/doc/src/declarative/javascriptblocks.qdoc
index e5e61f2..7c0570e 100644
--- a/doc/src/declarative/javascriptblocks.qdoc
+++ b/doc/src/declarative/javascriptblocks.qdoc
@@ -66,7 +66,7 @@ them.
\code
Item {
function factorial(a) {
- a = Integer(a);
+ a = parseInt(a);
if (a <= 0)
return 1;
else
@@ -143,7 +143,7 @@ stateless library through the use of a pragma, as shown in the following example
.pragma library
function factorial(a) {
- a = Integer(a);
+ a = parseInt(a);
if (a <= 0)
return 1;
else