summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/scope.qml
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-04-19 07:08:13 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-04-19 07:08:13 (GMT)
commit4223acff70de3036c5b7d75bccaec0c540c23556 (patch)
tree3c93c5a22e49b0998725fce10553bae96f036212 /tests/auto/declarative/qdeclarativeecmascript/data/scope.qml
parentfae16b674b619b73037841a00577de5922a26595 (diff)
downloadQt-4223acff70de3036c5b7d75bccaec0c540c23556.zip
Qt-4223acff70de3036c5b7d75bccaec0c540c23556.tar.gz
Qt-4223acff70de3036c5b7d75bccaec0c540c23556.tar.bz2
Remove Script {} support
Diffstat (limited to 'tests/auto/declarative/qdeclarativeecmascript/data/scope.qml')
-rw-r--r--tests/auto/declarative/qdeclarativeecmascript/data/scope.qml14
1 files changed, 5 insertions, 9 deletions
diff --git a/tests/auto/declarative/qdeclarativeecmascript/data/scope.qml b/tests/auto/declarative/qdeclarativeecmascript/data/scope.qml
index cccd3d3..1c0be98 100644
--- a/tests/auto/declarative/qdeclarativeecmascript/data/scope.qml
+++ b/tests/auto/declarative/qdeclarativeecmascript/data/scope.qml
@@ -7,21 +7,17 @@ Item {
property int binding: a
property string binding2: a + "Test"
property int binding3: myFunction()
- property int binding4: myNestedFunction()
+ property int binding4: nestedObject.myNestedFunction()
- Script {
- function myFunction() {
- return a;
- }
+ function myFunction() {
+ return a;
}
Item {
id: nestedObject
- Script {
- function myNestedFunction() {
- return a;
- }
+ function myNestedFunction() {
+ return a;
}
property int a: 2