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
/** | |
* QuickStorage and ProtectedStorage | |
* @brief A caching control mechanism | |
* @author Ray Peters <[email protected]> | |
*/ | |
function QuickStorage(){ | |
this._cache = {}; | |
} | |
QuickStorage.prototype.setItem = function( key, val ) { |
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(){ | |
// jQuery is required to run this snippet | |
// They are provided above from reliable CDNs if your page doesn't already have them added. | |
var uberGlobalize = (function(){ | |
var cloudFlareCDN = "//cdnjs.cloudflare.com/ajax/libs/globalize/0.1.1/cultures", | |
currentCulture = "", | |
previousCulture = "", | |
getCurrencySymbol = function( culture ) { | |
// Defaults to USD buck symbol |