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
function inArray(array:Array, search_value:String) { | |
for (var i in array) { | |
if (array[i] == search_value) { | |
return true; | |
} | |
} | |
} |
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
<div class="container"> | |
<h1>Example Header</h1> | |
</div> |
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 Resolution @media snippet. | |
* Target devices by the CSS resolution property. IE10 doesn't support ppx, so convert to dpi by | |
* multiplying the dppx value by 96. | |
*/ | |
@media (min-resolution: 2ppx),(min-resolution: 192ppi) { | |
/* add properties here */ | |
} |
NewerOlder