diff --git a/lib/ace/config.js b/lib/ace/config.js index 15916002..bfb9e797 100644 --- a/lib/ace/config.js +++ b/lib/ace/config.js @@ -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"); } };