react-globalize
Advanced tools
Comparing version 0.3.9 to 0.3.10
@@ -5,3 +5,3 @@ define(['react', 'globalize'], function (React, Globalize) { | ||
const commonProps = ["elements", "locale"]; | ||
var commonProps = ["elements", "locale"]; | ||
@@ -38,3 +38,3 @@ function capitalizeFirstLetter(string) { | ||
// otherProps = this.props - argArray - commonProps. | ||
const otherProps = Object.keys(props).filter(omit(argArray)).filter(omit(commonProps)).reduce(function(memo, propKey) { | ||
var otherProps = Object.keys(props).filter(omit(argArray)).filter(omit(commonProps)).reduce(function(memo, propKey) { | ||
memo[propKey] = props[propKey]; | ||
@@ -41,0 +41,0 @@ return memo; |
@@ -6,3 +6,3 @@ 'use strict'; | ||
const commonProps = ["elements", "locale"]; | ||
var commonProps = ["elements", "locale"]; | ||
@@ -39,3 +39,3 @@ function capitalizeFirstLetter(string) { | ||
// otherProps = this.props - argArray - commonProps. | ||
const otherProps = Object.keys(props).filter(omit(argArray)).filter(omit(commonProps)).reduce(function(memo, propKey) { | ||
var otherProps = Object.keys(props).filter(omit(argArray)).filter(omit(commonProps)).reduce(function(memo, propKey) { | ||
memo[propKey] = props[propKey]; | ||
@@ -42,0 +42,0 @@ return memo; |
{ | ||
"name": "react-globalize", | ||
"version": "0.3.9", | ||
"version": "0.3.10", | ||
"description": "Bringing the i18n functionality of Globalize, backed by CLDR, to React", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
import React from "react"; | ||
import Globalize from "globalize"; | ||
const commonProps = ["elements", "locale"]; | ||
var commonProps = ["elements", "locale"]; | ||
@@ -36,3 +36,3 @@ function capitalizeFirstLetter(string) { | ||
// otherProps = this.props - argArray - commonProps. | ||
const otherProps = Object.keys(props).filter(omit(argArray)).filter(omit(commonProps)).reduce(function(memo, propKey) { | ||
var otherProps = Object.keys(props).filter(omit(argArray)).filter(omit(commonProps)).reduce(function(memo, propKey) { | ||
memo[propKey] = props[propKey]; | ||
@@ -39,0 +39,0 @@ return memo; |
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
2849498
47