You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2013/12/05 16:50:16 UTC

js commit: Spelling: SEPERATOR -> SEPARATOR

Updated Branches:
  refs/heads/master 95afeb00e -> 286dff281


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/286dff28
Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/286dff28
Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/286dff28

Branch: refs/heads/master
Commit: 286dff281cfeb4f4eeb39004c7badad34ff8131e
Parents: 95afeb0
Author: Andrew Grieve <ag...@chromium.org>
Authored: Thu Dec 5 10:49:57 2013 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Thu Dec 5 10:49:57 2013 -0500

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


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/286dff28/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);
             };