Sha256: e4e9bc01e8fc166c3e291cb96b9ecd542c63b38ccc1ca51ce885ff40990e60b3

Contents?: true

Size: 666 Bytes

Versions: 1

Compression:

Stored size: 666 Bytes

Contents

!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("md5")):"function"==typeof define&&define.amd?define(["md5"],n):(e=e||self).i18NScrewdriver=n(e.md5)}(this,function(e){return e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e,function(n){n.screw=function(t,o){var r,i,u=e(t),l=null===(r=n.translations[n.locale])||void 0===r?void 0:r[u];void 0===l&&(l=function(e,n,t){return"translation missing: "+e.locale+"."+t}(n,0,t));var f=l.split("|"),d=f[1];return function(e,n){return e.replace(/%{([^{}]*)}/g,function(e,t){return n[t]})}(null!=(i=null!=d?d:f[0])?i:"",o)}}});
//# sourceMappingURL=index.umd.js.map

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
i18n_screwdriver-12.0.0 dist/index.umd.js