Use triple equal
This commit is contained in:
parent
e4a3e79535
commit
fe6903595d
1 changed files with 2 additions and 2 deletions
|
|
@ -78,11 +78,11 @@ exports.moduleUrl = function(name) {
|
||||||
var component = parts[1];
|
var component = parts[1];
|
||||||
var base = parts[2];
|
var base = parts[2];
|
||||||
|
|
||||||
if (component == "mode") {
|
if (component === "mode") {
|
||||||
return this.get("modePath") + "/mode-" + base + this.get("suffix");
|
return this.get("modePath") + "/mode-" + base + this.get("suffix");
|
||||||
} else if (component === "theme") {
|
} else if (component === "theme") {
|
||||||
return this.get("themePath") + "/theme-" + base + this.get("suffix");
|
return this.get("themePath") + "/theme-" + base + this.get("suffix");
|
||||||
} else if (component == "worker") {
|
} else if (component === "worker") {
|
||||||
return this.get("workerPath") + "/worker-" + base + this.get("suffix");
|
return this.get("workerPath") + "/worker-" + base + this.get("suffix");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue