summaryrefslogtreecommitdiff
path: root/tests/auto/declarative/qdeclarativelanguage/data/importJs.2.qml
blob: dd3d65c5dd2a4436925169f29ca5f92cda4eb0a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import com.nokia.VersionedOnlyJsModule 9.0
import QtQuick 2.0

Item {
    property bool test: false

    Component.onCompleted: {
        test = ((SomeAPI.greeting() == "Hey hey hey") &&
                (SomeAPI.major == 9) &&
                (SomeAPI.minor == 0))
    }
}