Skip to content

Commit

Permalink
chore(all): prepare release 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Nov 8, 2016
1 parent f44c814 commit 6a4476b
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 9 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-http-client",
"version": "1.0.2",
"version": "1.0.3",
"description": "A simple, restful, message-based wrapper around XMLHttpRequest.",
"keywords": [
"aurelia",
Expand Down
2 changes: 1 addition & 1 deletion dist/amd/aurelia-http-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ define(['exports', 'aurelia-path', 'aurelia-pal'], function (exports, _aureliaPa
return this._content;
}

if (this.response === undefined || this.response === null) {
if (this.response === undefined || this.response === null || this.response === '') {
this._content = this.response;
return this._content;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/aurelia-http-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ export class HttpResponseMessage {
return this._content;
}

if (this.response === undefined || this.response === null) {
if (this.response === undefined || this.response === null || this.response === '') {
this._content = this.response;
return this._content;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/commonjs/aurelia-http-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ var HttpResponseMessage = exports.HttpResponseMessage = function () {
return this._content;
}

if (this.response === undefined || this.response === null) {
if (this.response === undefined || this.response === null || this.response === '') {
this._content = this.response;
return this._content;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/es2015/aurelia-http-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export let HttpResponseMessage = class HttpResponseMessage {
return this._content;
}

if (this.response === undefined || this.response === null) {
if (this.response === undefined || this.response === null || this.response === '') {
this._content = this.response;
return this._content;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/native-modules/aurelia-http-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export var HttpResponseMessage = function () {
return this._content;
}

if (this.response === undefined || this.response === null) {
if (this.response === undefined || this.response === null || this.response === '') {
this._content = this.response;
return this._content;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/system/aurelia-http-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ System.register(['aurelia-path', 'aurelia-pal'], function (_export, _context) {
return this._content;
}

if (this.response === undefined || this.response === null) {
if (this.response === undefined || this.response === null || this.response === '') {
this._content = this.response;
return this._content;
}
Expand Down
10 changes: 10 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<a name="1.0.3"></a>
## [1.0.3](https://github.com/aurelia/http-client/compare/1.0.2...v1.0.3) (2016-11-08)


### Bug Fixes

* **http-response-message:** handle empty responses ([bae5188](https://github.com/aurelia/http-client/commit/bae5188))



## 1.0.2

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-http-client",
"version": "1.0.2",
"version": "1.0.3",
"description": "A simple, restful, message-based wrapper around XMLHttpRequest.",
"keywords": [
"aurelia",
Expand Down
2 changes: 1 addition & 1 deletion src/http-response-message.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export class HttpResponseMessage {
return this._content;
}

if (this.response === undefined || this.response === null || this.response == '') {
if (this.response === undefined || this.response === null || this.response === '') {
this._content = this.response;
return this._content;
}
Expand Down

0 comments on commit 6a4476b

Please sign in to comment.