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
<?php | |
/** | |
* Converts country code (ISO 3166-1) to its emoji flag representation (PL -> 🇵🇱). | |
* | |
* This solution supports both lowercase and uppercase codes using modulo 32 . | |
* Since it doesn't perform any validation, you should make sure the code is a valid country code first. | |
* | |
* 0x1F1E5 is a code of character right before "REGIONAL INDICATOR SYMBOL LETTER A" (🇦). | |
* |
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
var Webflow = Webflow || []; | |
Webflow.push(function () { | |
// DOMready has fired | |
// May now use jQuery and Webflow api | |
}); |