mirror of
https://github.com/lubosz/overte.git
synced 2025-08-08 03:27:48 +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(){
|
"trash": function(){
|
||||||
if ("application" == assetType) {
|
if ("application" === assetType) {
|
||||||
Commerce.uninstallApp(resource);
|
Commerce.uninstallApp(resource);
|
||||||
}
|
}
|
||||||
sendToScript({
|
sendToScript({
|
||||||
|
@ -176,7 +176,7 @@ Rectangle {
|
||||||
"unknown"
|
"unknown"
|
||||||
]
|
]
|
||||||
|
|
||||||
currentIndex: (("entity or wearable" == assetType) ?
|
currentIndex: (("entity or wearable" === assetType) ?
|
||||||
model.indexOf("unknown") : model.indexOf(assetType))
|
model.indexOf("unknown") : model.indexOf(assetType))
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
|
@ -203,10 +203,10 @@ Rectangle {
|
||||||
"unknown": hifi.glyphs.circleSlash,
|
"unknown": hifi.glyphs.circleSlash,
|
||||||
"wearable": hifi.glyphs.hat,
|
"wearable": hifi.glyphs.hat,
|
||||||
}
|
}
|
||||||
text: (("trash" == modelData) ?
|
text: (("trash" === modelData) ?
|
||||||
glyphs.trash :
|
glyphs.trash :
|
||||||
glyphs[comboBox.model[comboBox.currentIndex]])
|
glyphs[comboBox.model[comboBox.currentIndex]])
|
||||||
size: ("trash" == modelData) ? 22 : 30
|
size: ("trash" === modelData) ? 22 : 30
|
||||||
color: hifi.colors.black
|
color: hifi.colors.black
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
MouseArea {
|
MouseArea {
|
||||||
|
@ -257,7 +257,7 @@ Rectangle {
|
||||||
// Alas, there is nothing we can do about that so charge
|
// Alas, there is nothing we can do about that so charge
|
||||||
// ahead as though we are sure the present signal is one
|
// ahead as though we are sure the present signal is one
|
||||||
// we expect.
|
// we expect.
|
||||||
if ("load file" == currentAction) {
|
if ("load file" === currentAction) {
|
||||||
Window.browseChanged.disconnect(onResourceSelected);
|
Window.browseChanged.disconnect(onResourceSelected);
|
||||||
} else if ("load url" == currentAction) {
|
} else if ("load url" == currentAction) {
|
||||||
Window.promptTextChanged.disconnect(onResourceSelected);
|
Window.promptTextChanged.disconnect(onResourceSelected);
|
||||||
|
|
Loading…
Reference in a new issue