aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlengine/data/ScriptComponent.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmlengine/data/ScriptComponent.qml')
-rw-r--r--tests/auto/qml/qqmlengine/data/ScriptComponent.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlengine/data/ScriptComponent.qml b/tests/auto/qml/qqmlengine/data/ScriptComponent.qml
new file mode 100644
index 0000000000..3fb9a10e85
--- /dev/null
+++ b/tests/auto/qml/qqmlengine/data/ScriptComponent.qml
@@ -0,0 +1,6 @@
+import QtQuick 2.0
+import "script.js" as JS
+
+VMEExtendVMEComponent {
+ function getSomething() { return JS.getSomething() }
+}