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
<script type="text/javascript"> | |
/** | |
* Load and cache the css string from webfontjson(https://github.com/ahume/webfontjson) in the UA's localStorage. | |
* @author Tyll Weiß(https://github.com/Inkdpixels) | |
* @param url {string} The URL where the JSONP is located. | |
* @param jsonpCallbackName {string} The name of the function which will be called by the JSONP. | |
* @param useDefaultCallback {boolean} Use the default callback provided by this script? | |
* @param timestamp {string} The timestamp, to clear the users cache - change this string. | |
*/ | |
var loadCachedWebFonts = function(url, timestamp, jsonpCallbackName, useDefaultCallback) { |