blob: c0bb730ac741f92a750b194e8babe70cb0c48441 [file] [log] [blame]
import org.qtproject.PureJsModule 1.0 as PJM
import org.qtproject.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))
}
}