diff options
author | Chris Adams <christopher.adams@nokia.com> | 2011-12-01 16:07:59 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-12-06 02:46:28 +0100 |
commit | 8601f3444f7926a7b47ae217d8bf51044ff61809 (patch) | |
tree | bb26f7ba247e0f0745266ea897af43dbabd4ff3a /doc/src/snippets/declarative/integrating-javascript | |
parent | 2a5bd344ee27bfd61c0e83ce25df5cf843cebdee (diff) | |
download | qtdeclarative-8601f3444f7926a7b47ae217d8bf51044ff61809.tar.gz |
Document function limitation of var properties
Functions cannot be assigned to var properties due to the fact that
such an assignment signifies a binding assignment. This limitation
needs to be documented. One workaround is to assign an array which
contains a function element to a var property, and this commit also
adds a unit test to ensure this works.
Change-Id: I02363b88233282106ac6d26f14df1988155057b9
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'doc/src/snippets/declarative/integrating-javascript')
0 files changed, 0 insertions, 0 deletions