INSERT GRAPHIC HERE (include hyperlink in image)
Subtitle or Short Description Goes Here
| /** | |
| * To get started install | |
| * express bodyparser jsonwebtoken express-jwt | |
| * via npm | |
| * command :- | |
| * npm install express bodyparser jsonwebtoken express-jwt --save | |
| */ | |
| // Bringing all the dependencies in | |
| const express = require('express'); |
| <script> | |
| var stream = new EventSource('/api/stream'); | |
| stream.onmessage = function(e) { | |
| console.info(e.data); | |
| }; | |
| </script> |
People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
| window.addEventListener("mousedown", handleClick, false); | |
| window.addEventListener("contextmenu", function(e) { e.preventDefault(); }, false); | |
| //FIXME:disable this when user in ESC view | |
| //TODO:check same for zoom view | |
| function handleClick(e) { | |
| e.preventDefault(); | |
| if(e.button === 0) Reveal.next(); | |
| if(e.button === 2) Reveal.prev(); | |
| } |
| /* | |
| *Forked from Eli Grey https://gist.github.com/eligrey/384583 | |
| * | |
| */ | |
| // object.watch | |
| if (!Object.prototype.watch) { | |
| Object.defineProperty(Object.prototype, "watch", { | |
| enumerable: false | |
| , configurable: true |