Removed unused variable assignment

This commit is contained in:
Vishal Mishra 2017-01-10 14:08:13 -08:00 committed by maverickmishra
parent f8c75e341a
commit 050cc069a1

View File

@ -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;
module.exports = screenOrientation;