cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject js commit: Spelling: SEPERATOR -> SEPARATOR
Date Thu, 05 Dec 2013 15:50:16 GMT
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 <agrieve@chromium.org>
Authored: Thu Dec 5 10:49:57 2013 -0500
Committer: Andrew Grieve <agrieve@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);
             };


Mime
View raw message