diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-12-20 14:30:09 +1000 |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-12-20 14:36:15 +1000 |
commit | 0aeebdc851682d2afd63494ddeafa4e745ad2b72 (patch) | |
tree | c6f1e0219ed94aa2d8a2c75268197e225fc9547a /doc/src/declarative/modules.qdoc | |
parent | 97b039438bc31bb420138d72549372adb1244dc8 (diff) | |
download | qt4-tools-0aeebdc851682d2afd63494ddeafa4e745ad2b72.tar.gz |
Update docs on importing javascript files
Diffstat (limited to 'doc/src/declarative/modules.qdoc')
-rw-r--r-- | doc/src/declarative/modules.qdoc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/src/declarative/modules.qdoc b/doc/src/declarative/modules.qdoc index 011eb63d5b..bf9f5fdbf7 100644 --- a/doc/src/declarative/modules.qdoc +++ b/doc/src/declarative/modules.qdoc @@ -216,6 +216,8 @@ JavaScript files must always be imported with a named import: } \endqml +The qualifier ("MyScript" in the above example) must be unique within the QML document. +Unlike ordinary modules, multiple scripts cannot be imported into the same namespace. \section1 Writing a qmldir file |