From fe6903595d59e122f601a95e187a7b020766a379 Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Tue, 3 Jul 2012 08:51:13 -0500 Subject: [PATCH] Use triple equal --- lib/ace/config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"); } };