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

Item {
    property bool test: false

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