This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var meta=document.createElement('meta'); | |
| meta.name='viewport'; | |
| meta.setAttribute('content', 'width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0'); | |
| document.getElementsByTagName('head')[0].appendChild(meta); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Version": "2012-10-17", | |
| "Statement": | |
| [ | |
| { | |
| "Action": | |
| [ | |
| "cloudfront:CreateCloudFrontOriginAccessIdentity", | |
| "cloudfront:CreateDistribution", | |
| "cloudfront:UpdateDistribution", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| ##Device = Desktops | |
| ##Screen = 1281px to higher resolution desktops | |
| */ | |
| @media (min-width: 1281px) { | |
| //CSS | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** Generates UUID v4 | |
| * | |
| * @node There is a bug in Chrome's Math.random() according to http://devoluk.com/google-chrome-math-random-issue.html | |
| * For that reason we use Date.now() as well. | |
| */ | |
| function UUID() { | |
| function s(n) { return h((Math.random() * (1<<(n<<2)))^Date.now()).slice(-n); } | |
| function h(n) { return (n|0).toString(16); } | |
| return [ | |
| s(4) + s(4), s(4), |