/*! (c) Andrea Giammarchi - ISC */
|
|
var self=this||{};try{self.Map=Map}catch(n){self.Map=function(){var r=0,i=[],c=[];return{delete:function(n){var t=e(n);return t&&(i.splice(r,1),c.splice(r,1)),t},forEach:function(r,e){i.forEach(function(n,t){r.call(e,c[t],n,this)},this)},get:function(n){return e(n)?c[r]:void 0},has:function(n){return e(n)},set:function(n,t){return c[e(n)?r:i.push(n)-1]=t,this}};function e(n){return-1<(r=i.indexOf(n))}}}
|