webvr-polyfill
Advanced tools
Comparing version 0.9.4 to 0.9.5
{ | ||
"name": "webvr-polyfill", | ||
"version": "0.9.4", | ||
"version": "0.9.5", | ||
"homepage": "https://github.com/borismus/webvr-polyfill", | ||
@@ -27,3 +27,3 @@ "authors": [ | ||
"build": "browserify src/main.js | derequire > build/webvr-polyfill.js", | ||
"watch": "watchify src/main.js -v -d -o build/webvr-polyfill.js", | ||
"watch": "watchify src/main.js -v -d -o 'derequire > build/webvr-polyfill.js'", | ||
"copy": "cp build/webvr-polyfill.js ../webvr-boilerplate/node_modules/webvr-polyfill/build/webvr-polyfill.js" | ||
@@ -30,0 +30,0 @@ }, |
@@ -145,3 +145,2 @@ /* | ||
self.isPresenting = (fullscreenElement === actualFullscreenElement); | ||
self.fireVRDisplayPresentChange_(); | ||
if (self.isPresenting) { | ||
@@ -163,2 +162,3 @@ if (screen.orientation && screen.orientation.lock) { | ||
} | ||
self.fireVRDisplayPresentChange_(); | ||
} | ||
@@ -190,4 +190,4 @@ function onFullscreenError() { | ||
self.isPresenting = true; | ||
self.beginPresent_(); | ||
self.fireVRDisplayPresentChange_(); | ||
self.beginPresent_(); | ||
resolve(); | ||
@@ -214,4 +214,4 @@ } | ||
if (!Util.exitFullscreen() && Util.isIOS()) { | ||
self.endPresent_(); | ||
self.fireVRDisplayPresentChange_(); | ||
self.endPresent_(); | ||
} | ||
@@ -218,0 +218,0 @@ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1189022
8