This file contains 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
const moment = require('moment-timezone') | |
const Themeparks = require('themeparks') | |
const MagicKingdom = new Themeparks.Parks.WaltDisneyWorldMagicKingdom() | |
const statusChannel = MagicKingdom.FacilityStatusChannel | |
const startLiveMonitor = () => { | |
statusChannel.on('updated', ride => { | |
const currentTime = moment().format('LTS') | |
MagicKingdom.FacilityChannel.GetFacilityName(ride.id).then(rideName => { |
This file contains 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
/* | |
<div class="select"> | |
<div class="selected"></div> | |
<select> | |
<option>Option</option> | |
</select> | |
</div> | |
*/ | |
(function($) { |
This file contains 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
@mixin placeholder { | |
&::-webkit-input-placeholder { | |
@content; | |
} | |
&:-moz-placeholder { /* Firefox 18- */ | |
@content; | |
} | |
&::-moz-placeholder { /* Firefox 19+ */ | |
@content; | |
} |
This file contains 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
@mixin retina-background($image, $type, $width, $height, $position:0 0, $repeat:no-repeat) { | |
background-image: url("#{$image}.#{$type}"); | |
background-position: $position; | |
background-repeat: $repeat; | |
@media (min--moz-device-pixel-ratio: 1.3), | |
(-o-min-device-pixel-ratio: 2.6/2), | |
(-webkit-min-device-pixel-ratio: 1.3), | |
(min-device-pixel-ratio: 1.3), | |
(min-resolution: 1.3dppx) { |