react-i13n
Advanced tools
Comparing version 0.1.28 to 0.1.29
@@ -13,5 +13,6 @@ /** | ||
var Promise = require('promise'); | ||
var objectAssign = require('object-assign'); | ||
var DEFAULT_HANDLER_TIMEOUT = 1000; | ||
var GLOBAL_OBJECT = ('client' === ENVIRONMENT) ? window : global; | ||
var ENVIRONMENT = (typeof window !== 'undefined') ? 'client' : 'server'; | ||
var GLOBAL_OBJECT = ('client' === ENVIRONMENT) ? window : global; | ||
var DEFAULT_HANDLER_TIMEOUT = 1000; | ||
@@ -80,3 +81,3 @@ // export the debug lib in client side | ||
var self = this; | ||
payload = payload || {}; | ||
payload = objectAssign({}, payload); | ||
payload.env = ENVIRONMENT; | ||
@@ -83,0 +84,0 @@ payload.i13nNode = payload.i13nNode || this.getRootI13nNode(); |
{ | ||
"name": "react-i13n", | ||
"description": "React I13n provides a performant and scalable solution to application instrumentation.", | ||
"version": "0.1.28", | ||
"version": "0.1.29", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "repository": { |
73042
1750