You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
441 B

5 years ago
  1. /*! (c) Andrea Giammarchi - ISC */
  2. 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))}}}