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

Commit

Permalink
v0.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
steffans committed Jul 14, 2015
1 parent d8aefcd commit c0642f1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vue-resource",
"main": "dist/vue-resource.js",
"description": "A web request service for Vue.js",
"version": "0.1.7",
"version": "0.1.8",
"homepage": "https://github.com/vuejs/vue-resource",
"license": "MIT",
"ignore": [
Expand Down
7 changes: 4 additions & 3 deletions dist/vue-resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -364,13 +364,15 @@ return /******/ (function(modules) { // webpackBootstrap
options.data = '';
}

promise = (options.method.toLowerCase() == 'jsonp' ? jsonp : xhr).call(this, this.$url || Vue.url, options).then(transformResponse, transformResponse);
promise = (options.method.toLowerCase() == 'jsonp' ? jsonp : xhr).call(this, this.$url || Vue.url, options);

promise.then(transformResponse, transformResponse);

promise.success = function (fn) {

promise.then(function (response) {
fn.call(self, response.data, response.status, response);
});
}, function () {});

return promise;
};
Expand Down Expand Up @@ -518,7 +520,6 @@ return /******/ (function(modules) { // webpackBootstrap
response.data = response.responseText;
}

return response;
}

Http.options = {
Expand Down
2 changes: 1 addition & 1 deletion dist/vue-resource.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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": "0.1.7",
"version": "0.1.8",
"description": "A web request service for Vue.js",
"main": "src/index.js",
"scripts": {
Expand Down

0 comments on commit c0642f1

Please sign in to comment.