Comparing version 3.5.0 to 3.5.1
@@ -1087,7 +1087,7 @@ // I18n.js | ||
// Set aliases, so we can save some typing. | ||
I18n.t = I18n.translate; | ||
I18n.l = I18n.localize; | ||
I18n.p = I18n.pluralize; | ||
I18n.t = I18n.translate.bind(I18n); | ||
I18n.l = I18n.localize.bind(I18n); | ||
I18n.p = I18n.pluralize.bind(I18n); | ||
return I18n; | ||
})); |
@@ -21,2 +21,10 @@ # Change Log | ||
## [3.5.1] - 2019-12-21 | ||
### Changed | ||
- [JS] Bound shortcut functions | ||
(PR: https://github.com/fnando/i18n-js/pull/560) | ||
## [3.5.0] - 2019-11-12 | ||
@@ -437,3 +445,4 @@ | ||
[Unreleased]: https://github.com/fnando/i18n-js/compare/v3.5.0...HEAD | ||
[Unreleased]: https://github.com/fnando/i18n-js/compare/v3.5.1...HEAD | ||
[3.5.1]: https://github.com/fnando/i18n-js/compare/v3.5.0...v3.5.1 | ||
[3.5.0]: https://github.com/fnando/i18n-js/compare/v3.4.2...v3.5.0 | ||
@@ -440,0 +449,0 @@ [3.4.2]: https://github.com/fnando/i18n-js/compare/v3.4.1...v3.4.2 |
{ | ||
"name": "i18n-js", | ||
"version": "3.5.0", | ||
"version": "3.5.1", | ||
"description": "A javascript library similar to Ruby on Rails i18n gem", | ||
@@ -5,0 +5,0 @@ "author": "Nando Vieira", |
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
80536