Use triple equal

This commit is contained in:
Joshua Peek 2012-07-03 08:51:13 -05:00
commit fe6903595d

View file

@ -78,11 +78,11 @@ exports.moduleUrl = function(name) {
var component = parts[1];
var base = parts[2];
if (component == "mode") {
if (component === "mode") {
return this.get("modePath") + "/mode-" + base + this.get("suffix");
} else if (component === "theme") {
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");
}
};