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

Item {
    property bool test: false

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