cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [6/7] cordova-windows git commit: Removed verbose strict inequality tests
Date Fri, 03 Apr 2015 23:05:12 GMT
Removed verbose strict inequality tests


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

Branch: refs/heads/3.8.x
Commit: 64e39bb6d513c24bf207e0c25aa4ab6bcedb96f6
Parents: 1088118
Author: Jesse MacFadyen <purplecabbage@gmail.com>
Authored: Thu Mar 12 18:29:08 2015 -0700
Committer: Steve Gill <stevengill97@gmail.com>
Committed: Fri Apr 3 16:03:12 2015 -0700

----------------------------------------------------------------------
 cordova-js-src/exec.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/64e39bb6/cordova-js-src/exec.js
----------------------------------------------------------------------
diff --git a/cordova-js-src/exec.js b/cordova-js-src/exec.js
index 6b8a904..88d34c0 100644
--- a/cordova-js-src/exec.js
+++ b/cordova-js-src/exec.js
@@ -61,7 +61,7 @@ module.exports = function (success, fail, service, action, args) {
             onSuccess = function (result, callbackOptions) {
                 callbackOptions = callbackOptions || {};
                 var callbackStatus;
-                if (callbackOptions.status !== null && callbackOptions.status !==
undefined) {
+                if (callbackOptions.status != null) {
                     callbackStatus = callbackOptions.status;
                 }
                 else {
@@ -77,7 +77,7 @@ module.exports = function (success, fail, service, action, args) {
             onError = function (err, callbackOptions) {
                 callbackOptions = callbackOptions || {};
                 var callbackStatus;
-                if (callbackOptions.status !== null && callbackOptions.status !==
undefined) {
+                if (callbackOptions.status != null) {
                     callbackStatus = callbackOptions.status;
                 }
                 else {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message