Sha256: 2b2e6722095d84835f41f81323ece85e94a9807ea172072f9d229f15e75fbe28

Contents?: true

Size: 1 KB

Versions: 35

Compression:

Stored size: 1 KB

Contents

/*! (c) 2018, Andrea Giammarchi, (ISC) */
var Flatted=function(a,l){return{parse:function(n,t){var e=JSON.parse(n,i).map(f),r=e[0],u=t||s,c="object"==typeof r&&r?function u(c,f,n,i){return Object.keys(n).reduce(function(n,t){var e=n[t];if(e instanceof a){var r=c[e];"object"!=typeof r||f.has(r)?n[t]=i.call(n,t,r):(f.add(r),n[t]=i.call(n,t,u(c,f,r,i)))}else n[t]=i.call(n,t,e);return n},n)}(e,new Set,r,u):r;return u.call({"":c},"",c)},stringify:function(n,e,t){function r(n,t){if(u)return u=!u,t;var e=a.call(this,n,t);switch(typeof e){case"object":if(null===e)return e;case l:return c.get(e)||p(c,f,e)}return e}for(var u,c=new Map,f=[],i=[],a=e&&typeof e==typeof f?function(n,t){if(""===n||-1<e.indexOf(n))return t}:e||s,o=+p(c,f,a.call({"":n},"",n));o<f.length;o++)u=!0,i[o]=JSON.stringify(f[o],r,t);return"["+i.join(",")+"]"}};function s(n,t){return t}function p(n,t,e){var r=a(t.push(e)-1);return n.set(e,r),r}function f(n){return n instanceof a?a(n):n}function i(n,t){return typeof t==l?new a(t):t}}(String,"string");

Version data entries

35 entries across 35 versions & 7 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/flatted/min.js
disco_app-0.18.0 test/dummy/node_modules/flatted/min.js
disco_app-0.18.2 test/dummy/node_modules/flatted/min.js
trusty-cms-5.0.7 node_modules/flatted/min.js
trusty-cms-5.0.6 node_modules/flatted/min.js
trusty-cms-5.0.5 node_modules/flatted/min.js
trusty-cms-5.0.4 node_modules/flatted/min.js
trusty-cms-5.0.3 node_modules/flatted/min.js
trusty-cms-5.0.2 node_modules/flatted/min.js
trusty-cms-5.0.1 node_modules/flatted/min.js
trusty-cms-4.3.5 node_modules/flatted/min.js
trusty-cms-5.0.0 node_modules/flatted/min.js
trusty-cms-4.3.4 node_modules/flatted/min.js
trusty-cms-4.3.3 node_modules/flatted/min.js
trusty-cms-4.3.2 node_modules/flatted/min.js
trusty-cms-4.3.1 node_modules/flatted/min.js
trusty-cms-4.3 node_modules/flatted/min.js
trusty-cms-4.2.3 node_modules/flatted/min.js
trusty-cms-4.2.2 node_modules/flatted/min.js
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/flatted/min.js