aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlecmascript/data/jsimport/importOne.js
blob: 338c4e042f1db2b2245cb7c4c4b0228226e82b78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
.import "importTwo.js" as ImportTwoJs
.import "importThree.js" as ImportThreeJs

function greetingString() {
    if (ImportTwoJs.greetingString().length > 0) {
        return ImportTwoJs.greetingString();
    }
    return ImportThreeJs.greetingString();
}

function importOneFunction() {
    return '1';
}