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 (dust) { | |
/** | |
* Polyfill to create String.trim() if it's not natively available | |
*/ | |
if (!String.prototype.trim) { | |
(function(){ | |
// Make sure we trim BOM and NBSP | |
var rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g; | |
String.prototype.trim = function () { |
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
/** | |
* An object that maps keys to values. A map cannot contain duplicate keys; each key can map to at most one value. | |
* For those familiar with the Java programming language, this is similar to a HashMap; it implements most of the | |
* methods defined by Java's java.util.Map interface. | |
* | |
* @constructor | |
* @version 1.1.0 | |
* @author [email protected] Burleson, Cody | |
*/ | |
function Map() { |