summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/scope.2.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qdeclarativeecmascript/data/scope.2.qml')
-rw-r--r--tests/auto/declarative/qdeclarativeecmascript/data/scope.2.qml6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/auto/declarative/qdeclarativeecmascript/data/scope.2.qml b/tests/auto/declarative/qdeclarativeecmascript/data/scope.2.qml
index 8e5aa0b..9beda6a 100644
--- a/tests/auto/declarative/qdeclarativeecmascript/data/scope.2.qml
+++ b/tests/auto/declarative/qdeclarativeecmascript/data/scope.2.qml
@@ -4,10 +4,8 @@ Item {
property int a: 0
property int b: 0
- Script {
- function b() { return 11; }
- function c() { return 33; }
- }
+ function b() { return 11; }
+ function c() { return 33; }
QtObject {
id: a