Added WP8 support

This commit is contained in:
EddyVerbruggen
2015-05-13 20:30:41 +02:00
parent b3aadac6ed
commit 865c81a09e
3 changed files with 154 additions and 1 deletions
+8
View File
@@ -0,0 +1,8 @@
var exec = require('cordova/exec'),
screenOrientation = {};
screenOrientation.setOrientation = function(orientation) {
exec(null, null, "YoikScreenOrientation", "screenOrientation", [orientation]);
};
module.exports = screenOrientation;