mirror of
https://github.com/apache/cordova-plugin-screen-orientation.git
synced 2025-05-04 17:32:12 +08:00
Removed unused variable assignment
This commit is contained in:
parent
f8c75e341a
commit
050cc069a1
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user