redux-polyglot
Advanced tools
Comparing version 0.2.1 to 0.3.0
@@ -79,3 +79,7 @@ 'use strict'; | ||
var getP = function getP(state, polyglotScope) { | ||
var getP = function getP(state) { | ||
var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | ||
var polyglotScope = _ref.polyglotScope; | ||
if (!getLocale(state) || !getPhrases(state)) { | ||
@@ -82,0 +86,0 @@ return { |
{ | ||
"name": "redux-polyglot", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"description": "Tool for using Polyglot.js with Redux", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -46,3 +46,3 @@ # redux-polyglot | ||
It takes 4 parameters and return a middleware : | ||
It takes 3 parameters and return a middleware : | ||
- 1 - `actionToCatch :: String | Array<String>` | ||
@@ -49,0 +49,0 @@ - the type(s) of the action to catch |
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
18593
255