summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlecmascript/data/scriptAccess.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qmlecmascript/data/scriptAccess.js')
-rw-r--r--tests/auto/declarative/qmlecmascript/data/scriptAccess.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlecmascript/data/scriptAccess.js b/tests/auto/declarative/qmlecmascript/data/scriptAccess.js
new file mode 100644
index 0000000..c00d285
--- /dev/null
+++ b/tests/auto/declarative/qmlecmascript/data/scriptAccess.js
@@ -0,0 +1,7 @@
+var extVariable = 19;
+
+function extMethod()
+{
+ return extVariable;
+}
+