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
// Transmitter | |
var storedHeight = 0, payload; | |
setInterval(function() { | |
var currentHeight = $('.ng-scope').height(); | |
if (currentHeight == storedHeight) { | |
return false; | |
} else { | |
storedHeight = currentHeight; | |
payload = JSON.stringify({ height: currentHeight }); |
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
// Setup an icon array of name modifer keys + content values | |
// eg. "pencil": "\e602"; becomes a class of .icon--pencil | |
$icon-types: ( | |
"pencil": "\e602", | |
"ticket": "\e60d", | |
"cart2": "\e60f", | |
"credit": "\e627", | |
"location": "\e612", | |
"map": "\e634", | |
"clock": "\e614", |
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
{ | |
"AF": { | |
"name": "Afghanistan" | |
}, | |
"AX": { | |
"name": "Åland Islands" | |
}, | |
"AL": { | |
"name": "Albania" | |
}, |
NewerOlder