CB-12271 (windows) Fixed "platform add" error, added new tests

This commit is contained in:
Alexander Sorokin
2016-12-19 15:13:57 +03:00
parent c704de462d
commit 77d471833e
2 changed files with 20 additions and 4 deletions
@@ -20,11 +20,11 @@
*/
var DisplayInfo = Windows.Graphics.Display.DisplayInformation;
var Orientations = Windows.Graphics.Display.DisplayOrientations;
var Orientations = Windows.Graphics.Display.DisplayOrientations;
module.exports = {
setAllowedOrientations: function (win, fail, args) {
//console.log("setAllowedOrientations proxy called with " + args);
screenOrientation: function (win, fail, args) {
//console.log("screenOrientation proxy called with " + args);
try {
var prefOrients = args[0];