iOS JS: removed additional variable

This commit is contained in:
Grant Benvenuti 2014-09-03 17:21:28 +10:00
parent 1ca9e4e6e0
commit 61cd864608

View File

@ -31,7 +31,6 @@ module.exports = screenOrientation;
// ios orientation callback/hook
window.shouldRotateToOrientation = function(orientation) {
var currOrientation = iosOrientation,
map = orientationMap[currOrientation] || orientationMap['default'];
var map = orientationMap[iosOrientation] || orientationMap['default'];
return map.indexOf(orientation) >= 0;
};