Re: [w3c/screen-orientation] Editorial: Example 1 (#133)

marcoscaceres commented on this pull request.



>        </p>
       <pre class='example html'>
 &lt;script&gt;
-  var show = function() {
-     console.log("Orientation type is " + screen.orientation.type);
-     console.log("Orientation angle is " + screen.orientation.angle);
-  }
+async function fullScreenCheck() {
+  if(document.fullscreenElement === null) {

Make sure these code blocks are prettied ✨

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/screen-orientation/pull/133#discussion_r248619833

Received on Thursday, 17 January 2019 10:43:27 UTC