Skip to content
Permalink
Browse files
decided to JUST comment, and remove the empty code block I added.
  • Loading branch information
purplecabbage committed Jan 8, 2015
1 parent 9966b3a commit f2f290627002fdb6711b1c6b7df968ea03a4e850
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
@@ -205,13 +205,13 @@ var cordova = {
} else if (!isSuccess) {
callback.fail && callback.fail.apply(null, args);
}
else {
// Note, this case is intentionally not caught.
// this can happen if isSuccess is true, but callbackStatus is NO_RESULT
// which is used to remove a callback from the list without calling the callbacks
// typically keepCallback is false in this case
}

/*
else
Note, this case is intentionally not caught.
this can happen if isSuccess is true, but callbackStatus is NO_RESULT
which is used to remove a callback from the list without calling the callbacks
typically keepCallback is false in this case
*/
// Clear callback if not expecting any more results
if (!keepCallback) {
delete cordova.callbacks[callbackId];
@@ -212,12 +212,13 @@ var cordova = {
} else if (!isSuccess) {
callback.fail && callback.fail.apply(null, args);
}
else {
// Note, this case is intentionally not caught.
// this can happen if isSuccess is true, but callbackStatus is NO_RESULT
// which is used to remove a callback from the list without calling the callbacks
// typically keepCallback is false in this case
}
/*
else
Note, this case is intentionally not caught.
this can happen if isSuccess is true, but callbackStatus is NO_RESULT
which is used to remove a callback from the list without calling the callbacks
typically keepCallback is false in this case
*/

// Clear callback if not expecting any more results
if (!keepCallback) {

0 comments on commit f2f2906

Please sign in to comment.