summaryrefslogtreecommitdiffstats
path: root/examples/declarative/tutorials/samegame/samegame3/samegame.js
Commit message (Collapse)AuthorAgeFilesLines
* Rename Component::errorsString() -> errorString() (and also forBea Lam2010-05-201-2/+2
| | | | QDeclarativeComponent)
* Merge branch '4.7' of git@scm.dev.nokia.troll.no:qt/qt-qml into 4.7Alan Alpert2010-05-051-5/+4
|\
| * Doc improvements, simplify example codeBea Lam2010-05-051-5/+4
| |
* | Make component.createObject require a parent argumentAlan Alpert2010-05-051-2/+1
|/ | | | | | | | | For graphical objects (the common case) a common mistake is to not parent a dynamically created item. Since you almost always want to add a parent, and it's hard for a beginner to diagnose this problem, a parent is now a required argument and dealt with by the createObject function. Task-number: QTBUG-10110
* Remove Component's isReady, isLoading, isError and isNull properties.Bea Lam2010-04-291-4/+4
| | | | | | | The Component status enum covers all of these properties already and removing these also makes the API consistent with Image and Loader. Note this change only affects the QML Component API; the methods are still available for QDeclarativeComponent.
* Replace usage of print() with console.log().Michael Brasser2010-04-231-4/+4
|
* Make the dynamic creation functions on the Qt objectAlan Alpert2010-04-211-1/+1
| | | | | | | | | Also updated examples to still work, and the dynamic example now uses exceptions a little, to demonstrate that it can be done. Exceptions are also now filled out with the QML error data. Task-number: QT-2801 Reviewed-by: Aaron Kennedy
* Example code style improvementsBea Lam2010-04-091-79/+74
|
* More tutorial improvmentsBea Lam2010-04-091-28/+26
|
* Improve example code - rename variables, remove redundant ids.Bea Lam2010-04-081-54/+54
|
* Doc improvements, fixesBea Lam2010-04-011-6/+0
|
* Fix samegame tutorial 3Alan Alpert2009-11-101-12/+12
| | | | | the js file hadn't been updated to avoid global vars Also updating a missed particles element
* fix javascript errors in samegame tutorialsYann Bodson2009-11-051-5/+5
|
* Switch Same Game tutorial to using snippets properlyAlan Alpert2009-10-071-0/+4
|
* Add SameGame based advanced tutorialAlan Alpert2009-10-071-0/+185
Could use some cleanup, as I didn't manage to get code snippets working correctly. Also might benefit from being re-written by a good tutor.