setOrientation moved to individual ios and android js files

This commit is contained in:
Grant Benvenuti
2014-07-30 08:49:28 +10:00
parent 42ab0af854
commit 60c907c902
5 changed files with 23 additions and 54 deletions
+8
View File
@@ -0,0 +1,8 @@
var exec = require('cordova/exec'),
screenOrientation = {};
screenOrientation.setOrientation = function(orientation) {
exec(null, null, "YoikScreenOrientation", "screenOrientation", ['set', orientation]);
};
module.exports = screenOrientation;