wpcom-xhr-request
Advanced tools
Comparing version 0.2.3 to 0.2.4
0.2.4 / 2014-07-08 | ||
================== | ||
* index: handle the scenario when `res.body` is undefined | ||
0.2.3 / 2014-06-24 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -106,3 +106,3 @@ | ||
for (var i in body) err[i] = body[i]; | ||
if (body.error) err.name = toTitle(body.error) + 'Error'; | ||
if (body && body.error) err.name = toTitle(body.error) + 'Error'; | ||
fn(err); | ||
@@ -109,0 +109,0 @@ } |
@@ -12,3 +12,3 @@ { | ||
], | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"author": "Automattic, Inc.", | ||
@@ -15,0 +15,0 @@ "contributors": [ |
7411