Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Update JS snapshot to version 3.3.0-dev (via coho)
  • Loading branch information
bryanhiggins committed Nov 6, 2013
1 parent 86beaf2 commit e78328088363ab754167c690409b59c40a8fa9bb
Showing 1 changed file with 3 additions and 3 deletions.
@@ -34,7 +34,7 @@ var require,
requireStack = [],
// Map of module ID -> index into requireStack of modules currently being built.
inProgressModules = {},
SEPARATOR = ".";
SEPERATOR = ".";



@@ -44,7 +44,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(SEPARATOR)) + SEPARATOR + id.slice(2);
resultantId = module.id.slice(0, module.id.lastIndexOf(SEPERATOR)) + SEPERATOR + id.slice(2);
}
return require(resultantId);
};
@@ -273,7 +273,7 @@ var cordova = {
* Called by native code when returning error result from an action.
*/
callbackError: function(callbackId, args) {
// TODO: Deprecate callbackSuccess and callbackError in favor of callbackFromNative.
// TODO: Deprecate callbackSuccess and callbackError in favour of callbackFromNative.
// Derive success from status.
try {
cordova.callbackFromNative(callbackId, false, args.status, [args.message], args.keepCallback);

0 comments on commit e783280

Please sign in to comment.