Comparing version 1.0.0 to 1.0.1
@@ -1,2 +0,2 @@ | ||
/*! islyngten V1.0.0, Copyright (c) 2013-present, Belexos GmbH. MIT licensed. */ | ||
/*! islyngten V1.0.1, Copyright (c) 2013-present, Belexos GmbH. MIT licensed. */ | ||
!function(a){function b(){function a(a,b,c){function d(a,b,c){var d,g=e(a);if(1!==b&&"object"==typeof g&&(g=f(a,g,b)),g&&c)for(d in c)c.hasOwnProperty(d)&&(g=g.replace(d,e(c[d])));return g}function e(a){return c?c[a]||a:a}function f(a,b,c){var d,e,f,g,h,i;for(d in b)if(b.hasOwnProperty(d)){if(e=/(\d+)\s*-\s*(\d+)/,(f=e.exec(d))&&(g=f[1],h=f[2],c>=g&&c<=h))return b[d];if(e=/([<>]=?)\s*(\d+)/,f=e.exec(d)){var j=f[1],k=f[2];if(">"===j&&c>k)return b[d];if(">="===j&&c>=k)return b[d];if("<"===j&&c<k)return b[d];if("<="===j&&c<=k)return b[d]}if(e=/\s*,\s*/,f=d.split(e))for(i=0;i<f.length;i++)if(c===~~f[i])return b[d]}return a}this.context=function(){return a},this.locale=function(){return b},this._=this.t=this.get=function(a,b){return d(a,1,b)},this.__=this.tt=this.nget=function(a,b,c,e){return 1===c?d(a,1,e):d(b,c,e)}}const b={};this.resources=function(a,c,d){b[a]||(b[a]={}),b[a][c]=d},this.resourceBundle=function(c,d){var e=b[c];return new a(c,d,e?e[d]:null)}}"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=b:a.Islyngten=b}(this); |
{ | ||
"name": "islyngten", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Islyngten is a tiny JavaScript library supplying I18N translation support for Node.js and the Browser.", | ||
@@ -42,8 +42,8 @@ "main": "islyngten.js", | ||
"devDependencies": { | ||
"grunt": "^1.0.2", | ||
"grunt": "^1.0.4", | ||
"grunt-contrib-uglify": "^2.0.0", | ||
"grunt-contrib-watch": "^1.0.0", | ||
"grunt-contrib-watch": "^1.1.0", | ||
"jasmine": "^3.1.0", | ||
"nyc": "^11.4.1" | ||
"nyc": "^14.1.1" | ||
} | ||
} |
@@ -271,3 +271,3 @@ Islyngten | ||
------------------ | ||
Please refer to the [test spec]((https://github.com/belexos/islyngten/blob/master/spec/IslyngtenSpec.js)) for more examples. | ||
Please refer to the [test spec](https://github.com/belexos/islyngten/blob/master/spec/IslyngtenSpec.js) for more examples. | ||
@@ -317,2 +317,5 @@ | ||
--------- | ||
v1.0.1 | ||
* Update npm modules. | ||
v1.0.0 | ||
@@ -319,0 +322,0 @@ * Initial public release |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15510
326