diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-04-16 08:34:10 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-04-16 08:34:10 (GMT) |
commit | 269623184ee55bd8126cf3ae5cfb619d3bdda91b (patch) | |
tree | ffc4665ddcd77ab10b0ce209f380c95e662f0c07 /doc/src/declarative/javascriptblocks.qdoc | |
parent | 731071ed146febd8d93e1897e7f1aba135ac23c4 (diff) | |
download | Qt-269623184ee55bd8126cf3ae5cfb619d3bdda91b.zip Qt-269623184ee55bd8126cf3ae5cfb619d3bdda91b.tar.gz Qt-269623184ee55bd8126cf3ae5cfb619d3bdda91b.tar.bz2 |
Doc
Diffstat (limited to 'doc/src/declarative/javascriptblocks.qdoc')
-rw-r--r-- | doc/src/declarative/javascriptblocks.qdoc | 4 |
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 |