cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [2/9] cordova-plugin-screen-orientation git commit: Removed unused variable assignment
Date Wed, 22 Feb 2017 03:26:45 GMT
Removed unused variable assignment

Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-screen-orientation/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-screen-orientation/commit/050cc069
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-screen-orientation/tree/050cc069
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-screen-orientation/diff/050cc069

Branch: refs/heads/master
Commit: 050cc069a15a97ec8ff81a03c7dac66340ede61f
Parents: f8c75e3
Author: Vishal Mishra <maverickmishra@users.noreply.github.com>
Authored: Tue Jan 10 14:08:13 2017 -0800
Committer: maverickmishra <vishalmishra0907@gmail.com>
Committed: Wed Jan 25 10:47:32 2017 -0800

----------------------------------------------------------------------
 www/screenorientation.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-screen-orientation/blob/050cc069/www/screenorientation.js
----------------------------------------------------------------------
diff --git a/www/screenorientation.js b/www/screenorientation.js
index 891c3bc..0711387 100644
--- a/www/screenorientation.js
+++ b/www/screenorientation.js
@@ -56,7 +56,6 @@
             var p = new Promise(function(resolve, reject) {
                 if (screenObject.nativeLock != null) {
                     promiseLock = screenObject.nativeLock(orientation);
-                    flag = true;
                 } else {
                     resolveOrientation(orientation, resolve, reject);
                 }
@@ -98,4 +97,4 @@
                
     }
     window.addEventListener("orientationchange", orientationChange, true);
-    module.exports = screenOrientation;
\ No newline at end of file
+    module.exports = screenOrientation;


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


Mime
View raw message