diff options
Diffstat (limited to 'tests/auto/qml/qmllint/data/JsLibrary')
-rw-r--r-- | tests/auto/qml/qmllint/data/JsLibrary/HelperLibrary.js | 5 | ||||
-rw-r--r-- | tests/auto/qml/qmllint/data/JsLibrary/qmldir | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/JsLibrary/HelperLibrary.js b/tests/auto/qml/qmllint/data/JsLibrary/HelperLibrary.js new file mode 100644 index 0000000000..cf75a11b72 --- /dev/null +++ b/tests/auto/qml/qmllint/data/JsLibrary/HelperLibrary.js @@ -0,0 +1,5 @@ +.pragma library + +function foo() { + return "Hello World"; +} diff --git a/tests/auto/qml/qmllint/data/JsLibrary/qmldir b/tests/auto/qml/qmllint/data/JsLibrary/qmldir new file mode 100644 index 0000000000..d1c7011d7a --- /dev/null +++ b/tests/auto/qml/qmllint/data/JsLibrary/qmldir @@ -0,0 +1,3 @@ +module JsLibrary +HelperLibrary 1.0 HelperLibrary.js + |