organism-react-ajax
Advanced tools
Comparing version 0.17.4 to 0.17.5
@@ -75,11 +75,8 @@ "use strict"; | ||
dlog.prototype.show = function (level, data) { | ||
var keys = Object.keys; | ||
var keys = function keys(o) { | ||
o = o || {}; | ||
return Object.keys(o); | ||
}; | ||
var isDataSet = function isDataSet(a) { | ||
var bArray = Array.isArray; | ||
if (!bArray(a)) { | ||
return false; | ||
} | ||
var arrKey = keys(a); | ||
@@ -94,3 +91,3 @@ | ||
if (bArray(a[key]) || !keys(a[key]).length) { | ||
if (!keys(a[key]).length) { | ||
return false; | ||
@@ -97,0 +94,0 @@ } |
@@ -70,11 +70,8 @@ // dlog 0.1.1 | ||
dlog.prototype.show = function (level, data) { | ||
var keys = Object.keys; | ||
var keys = function keys(o) { | ||
o = o || {}; | ||
return Object.keys(o); | ||
}; | ||
var isDataSet = function isDataSet(a) { | ||
var bArray = Array.isArray; | ||
if (!bArray(a)) { | ||
return false; | ||
} | ||
var arrKey = keys(a); | ||
@@ -89,3 +86,3 @@ | ||
if (bArray(a[key]) || !keys(a[key]).length) { | ||
if (!keys(a[key]).length) { | ||
return false; | ||
@@ -92,0 +89,0 @@ } |
{ | ||
"version": "0.17.4", | ||
"version": "0.17.5", | ||
"name": "organism-react-ajax", | ||
@@ -4,0 +4,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
81632
2525