- https://woffice.io
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
/** | |
* Determine if this browser supports emoji. | |
* | |
* Modified from https://gist.github.com/mwunsch/4710561 | |
* and probobly originally github's javascript source | |
*/ | |
function doesSupportEmoji() { | |
var context, smiley; | |
if (!document.createElement('canvas').getContext) return; | |
context = document.createElement('canvas').getContext('2d'); |
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
<?php | |
/* | |
WPUpdates Theme Updater Class (with Envato API verification) | |
http://wp-updates.com | |
v1.1 | |
Example Usage: | |
require_once('wp-updates-theme.php'); | |
new WPUpdatesThemeUpdater( 'http://wp-updates.com/api/1/theme', 1, basename(get_template_directory()) ); | |
*/ |