You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2013/12/06 22:01:28 UTC

[2/4] js commit: Spelling: SEPERATOR -> SEPARATOR

Spelling: SEPERATOR -> SEPARATOR


Project: http://git-wip-us.apache.org/repos/asf/cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-js/commit/e1fe3a5f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/e1fe3a5f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/e1fe3a5f

Branch: refs/heads/3.3.x
Commit: e1fe3a5fabe5448c5f4932a4910b1cc503c391e2
Parents: 4a0eaec
Author: Andrew Grieve <ag...@chromium.org>
Authored: Thu Dec 5 10:49:57 2013 -0500
Committer: Steven Gill <st...@gmail.com>
Committed: Fri Dec 6 13:00:43 2013 -0800

----------------------------------------------------------------------
 lib/scripts/require.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/e1fe3a5f/lib/scripts/require.js
----------------------------------------------------------------------
diff --git a/lib/scripts/require.js b/lib/scripts/require.js
index 914bea4..93d01c4 100644
--- a/lib/scripts/require.js
+++ b/lib/scripts/require.js
@@ -31,7 +31,7 @@ var require,
         requireStack = [],
     // Map of module ID -> index into requireStack of modules currently being built.
         inProgressModules = {},
-        SEPERATOR = ".";
+        SEPARATOR = ".";
 
 
 
@@ -41,7 +41,7 @@ var require,
                 var resultantId = id;
                 //Its a relative path, so lop off the last portion and add the id (minus "./")
                 if (id.charAt(0) === ".") {
-                    resultantId = module.id.slice(0, module.id.lastIndexOf(SEPERATOR)) + SEPERATOR + id.slice(2);
+                    resultantId = module.id.slice(0, module.id.lastIndexOf(SEPARATOR)) + SEPARATOR + id.slice(2);
                 }
                 return require(resultantId);
             };