Comparing version 0.5.0 to 0.5.1
@@ -17,2 +17,8 @@ (function() { | ||
if (typeof options === 'function') { | ||
cb = options; | ||
options = {}; | ||
} | ||
options = options || {}; | ||
options.resSetPath = options.resSetPath || 'locales/__lng__/__ns__.json'; | ||
@@ -19,0 +25,0 @@ options.sendMissing = options.saveMissing || false; |
@@ -26,3 +26,3 @@ (function() { | ||
var missingLngs = []; | ||
for (i = 0, len = lngs.length; i < len; i++) { | ||
for (var i = 0, len = lngs.length; i < len; i++) { | ||
if (!resStore[lngs[i]]) missingLngs.push(lngs[i]); | ||
@@ -29,0 +29,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
, "description": "A i18n middleware for the Express.js framework." | ||
, "version": "0.5.0" | ||
, "version": "0.5.1" | ||
, "repository": { | ||
@@ -8,0 +8,0 @@ "type": "git" |
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
41718
22
811