blob: 578ca47ea53e32220ef6792826f054ae2c86db5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import com.nokia.PureJsModule 1.0 as PJM
import com.nokia.PureJsModule 1.0 as AnotherName
import QtQuick 2.0
Item {
property bool test: false
Component.onCompleted: {
test = ((PJM.FirstAPI.greeting() == "Hello") &&
(PJM.FirstAPI.major == 1) &&
(PJM.FirstAPI.minor == 0) &&
(AnotherName.FirstAPI.greeting() == "Hello") &&
(AnotherName.FirstAPI.major == 1) &&
(AnotherName.FirstAPI.minor == 0))
}
}
|