mirror of
https://github.com/lubosz/overte.git
synced 2025-04-19 08:58:02 +02:00
Use triple equals
This commit is contained in:
parent
ff83713365
commit
4e7b03883f
1 changed files with 5 additions and 5 deletions
|
@ -132,7 +132,7 @@ Rectangle {
|
|||
}
|
||||
},
|
||||
"trash": function(){
|
||||
if ("application" == assetType) {
|
||||
if ("application" === assetType) {
|
||||
Commerce.uninstallApp(resource);
|
||||
}
|
||||
sendToScript({
|
||||
|
@ -176,7 +176,7 @@ Rectangle {
|
|||
"unknown"
|
||||
]
|
||||
|
||||
currentIndex: (("entity or wearable" == assetType) ?
|
||||
currentIndex: (("entity or wearable" === assetType) ?
|
||||
model.indexOf("unknown") : model.indexOf(assetType))
|
||||
|
||||
Component.onCompleted: {
|
||||
|
@ -203,10 +203,10 @@ Rectangle {
|
|||
"unknown": hifi.glyphs.circleSlash,
|
||||
"wearable": hifi.glyphs.hat,
|
||||
}
|
||||
text: (("trash" == modelData) ?
|
||||
text: (("trash" === modelData) ?
|
||||
glyphs.trash :
|
||||
glyphs[comboBox.model[comboBox.currentIndex]])
|
||||
size: ("trash" == modelData) ? 22 : 30
|
||||
size: ("trash" === modelData) ? 22 : 30
|
||||
color: hifi.colors.black
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
MouseArea {
|
||||
|
@ -257,7 +257,7 @@ Rectangle {
|
|||
// Alas, there is nothing we can do about that so charge
|
||||
// ahead as though we are sure the present signal is one
|
||||
// we expect.
|
||||
if ("load file" == currentAction) {
|
||||
if ("load file" === currentAction) {
|
||||
Window.browseChanged.disconnect(onResourceSelected);
|
||||
} else if ("load url" == currentAction) {
|
||||
Window.promptTextChanged.disconnect(onResourceSelected);
|
||||
|
|
Loading…
Reference in a new issue