twreporter-redux
Advanced tools
Comparing version 1.0.0-alpha-0.14 to 1.0.0-alpha-0.15
@@ -7,2 +7,8 @@ 'use strict'; | ||
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; /* eslint no-param-reassign: ["error", { "props": false }]*/ | ||
// lodash | ||
var _reduxStateFields = require('../constants/redux-state-fields'); | ||
@@ -34,8 +40,4 @@ | ||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } /* eslint no-param-reassign: ["error", { "props": false }]*/ | ||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
// lodash | ||
var _ = { | ||
@@ -58,3 +60,3 @@ get: _get2.default, | ||
_entities.forEach(function (entity) { | ||
if (!entity) { | ||
if ((typeof entity === 'undefined' ? 'undefined' : _typeof(entity)) !== 'object') { | ||
return; | ||
@@ -61,0 +63,0 @@ } |
{ | ||
"name": "twreporter-redux", | ||
"version": "1.0.0-alpha-0.14", | ||
"version": "1.0.0-alpha-0.15", | ||
"description": "redux actions and reducers for twreporter website", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -25,3 +25,3 @@ /* eslint no-param-reassign: ["error", { "props": false }]*/ | ||
_entities.forEach((entity) => { | ||
if (!entity) { | ||
if (typeof entity !== 'object') { | ||
return | ||
@@ -28,0 +28,0 @@ } |
165280
4599