Comparing version 0.2.9 to 0.2.10
@@ -49,3 +49,7 @@ // Generated by CoffeeScript 1.4.0 | ||
if (status === 200) { | ||
return options.success(JSON.parse(JSON.stringify(json))); | ||
if (typeof json === 'string') { | ||
return options.success(JSON.parse(json)); | ||
} else { | ||
return options.success(JSON.parse(JSON.stringify(json))); | ||
} | ||
} else { | ||
@@ -52,0 +56,0 @@ return options.error({ |
@@ -1894,3 +1894,7 @@ /* | ||
if (status === 200) { | ||
return options.success(JSON.parse(JSON.stringify(json))); | ||
if (typeof json === 'string') { | ||
return options.success(JSON.parse(json)); | ||
} else { | ||
return options.success(JSON.parse(JSON.stringify(json))); | ||
} | ||
} else { | ||
@@ -1897,0 +1901,0 @@ return options.error({ |
{ "name": "highbrow" | ||
, "version": "0.2.9" | ||
, "version": "0.2.10" | ||
, "description": "A Backbone Base Framework" | ||
@@ -4,0 +4,0 @@ , "main": "lib/highbrow.js" |
Sorry, the diff of this file is not supported yet
323316
5469