aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmllanguage/data/importJs.7.qml
blob: 7b3501ad8f95d5f9d5d132d58878741fc63dda7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import org.qtproject.PureJsModule 1.0
import org.qtproject.PureJsModule 1.6
import QtQuick 2.0

Item {
    property bool test: false

    Component.onCompleted: {
        test = ((FirstAPI.greeting() == "Hello") &&
                (FirstAPI.major == 1) &&
                (FirstAPI.minor == 0))
    }
}