summaryrefslogtreecommitdiff
path: root/tests/auto/declarative/qdeclarativelanguage/data/importJs.7.qml
blob: 5523a158bdac41897c48565ade29b4c088f55d31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import com.nokia.PureJsModule 1.0
import com.nokia.PureJsModule 1.6
import QtQuick 2.0

Item {
    property bool test: false

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