Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Commit

Permalink
v1.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Steffan committed Jun 8, 2017
1 parent 2a30bf2 commit 69e09ad
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ $ npm install vue-resource
```

### CDN
Available on [jsdelivr](https://cdn.jsdelivr.net/npm/[email protected].3), [unpkg](https://unpkg.com/[email protected].3) or [cdnjs](https://cdnjs.com/libraries/vue-resource).
Available on [jsdelivr](https://cdn.jsdelivr.net/npm/[email protected].4), [unpkg](https://unpkg.com/[email protected].4) or [cdnjs](https://cdnjs.com/libraries/vue-resource).
```html
<script src="https://cdn.jsdelivr.net/npm/[email protected].3"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].4"></script>
```

## Example
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vue-resource",
"main": "dist/vue-resource.js",
"version": "1.3.3",
"version": "1.3.4",
"description": "The HTTP client for Vue.js",
"homepage": "https://github.com/pagekit/vue-resource",
"license": "MIT",
Expand Down
8 changes: 4 additions & 4 deletions dist/vue-resource.common.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-resource v1.3.3
* vue-resource v1.3.4
* https://github.com/pagekit/vue-resource
* Released under the MIT License.
*/
Expand Down Expand Up @@ -1138,7 +1138,7 @@ var Client = function (context) {
}

function Client(request) {
return new PromiseObj(function (resolve) {
return new PromiseObj(function (resolve, reject) {

function exec() {

Expand All @@ -1163,10 +1163,10 @@ var Client = function (context) {
resHandlers.forEach(function (handler) {
response = when(response, function (response) {
return handler.call(context, response) || response;
});
}, reject);
});

when(response, resolve);
when(response, resolve, reject);

return;
}
Expand Down
8 changes: 4 additions & 4 deletions dist/vue-resource.es2015.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-resource v1.3.3
* vue-resource v1.3.4
* https://github.com/pagekit/vue-resource
* Released under the MIT License.
*/
Expand Down Expand Up @@ -1136,7 +1136,7 @@ var Client = function (context) {
}

function Client(request) {
return new PromiseObj(function (resolve) {
return new PromiseObj(function (resolve, reject) {

function exec() {

Expand All @@ -1161,10 +1161,10 @@ var Client = function (context) {
resHandlers.forEach(function (handler) {
response = when(response, function (response) {
return handler.call(context, response) || response;
});
}, reject);
});

when(response, resolve);
when(response, resolve, reject);

return;
}
Expand Down
8 changes: 4 additions & 4 deletions dist/vue-resource.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-resource v1.3.3
* vue-resource v1.3.4
* https://github.com/pagekit/vue-resource
* Released under the MIT License.
*/
Expand Down Expand Up @@ -1142,7 +1142,7 @@ var Client = function (context) {
}

function Client(request) {
return new PromiseObj(function (resolve) {
return new PromiseObj(function (resolve, reject) {

function exec() {

Expand All @@ -1167,10 +1167,10 @@ var Client = function (context) {
resHandlers.forEach(function (handler) {
response = when(response, function (response) {
return handler.call(context, response) || response;
});
}, reject);
});

when(response, resolve);
when(response, resolve, reject);

return;
}
Expand Down
4 changes: 2 additions & 2 deletions dist/vue-resource.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-resource",
"version": "1.3.3",
"version": "1.3.4",
"main": "dist/vue-resource.common.js",
"module": "dist/vue-resource.es2015.js",
"unpkg": "dist/vue-resource.min.js",
Expand Down

0 comments on commit 69e09ad

Please sign in to comment.