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

Commit d844229

Browse files
committed
v0.1.4
1 parent 0bad808 commit d844229

File tree

4 files changed

+19
-7
lines changed

4 files changed

+19
-7
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vue-resource",
33
"main": "dist/vue-resource.js",
44
"description": "A web request service for Vue.js",
5-
"version": "0.1.3",
5+
"version": "0.1.4",
66
"homepage": "https://github.com/vuejs/vue-resource",
77
"license": "MIT",
88
"ignore": [

dist/vue-resource.js

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/**
2+
* vue-resource v0.1.4
3+
* https://github.com/vuejs/vue-resource
4+
* Released under the MIT License.
5+
*/
6+
17
/******/ (function(modules) { // webpackBootstrap
28
/******/ // The module cache
39
/******/ var installedModules = {};
@@ -96,7 +102,7 @@
96102
return '';
97103
});
98104

99-
if (!url.match(/^(https?:)?\//) && options.root) {
105+
if (options.root !== false && !url.match(/^(https?:)?\//)) {
100106
url = options.root + '/' + url;
101107
}
102108

@@ -124,7 +130,7 @@
124130

125131
Url.options = {
126132
url: '',
127-
root: '',
133+
root: false,
128134
params: {}
129135
};
130136

@@ -231,7 +237,7 @@
231237

232238
/***/ },
233239
/* 2 */
234-
/***/ function(module, exports, __webpack_require__) {
240+
/***/ function(module, exports) {
235241

236242
/**
237243
* Utility functions.
@@ -557,7 +563,7 @@
557563

558564
/***/ },
559565
/* 4 */
560-
/***/ function(module, exports, __webpack_require__) {
566+
/***/ function(module, exports) {
561567

562568
/**
563569
* Promise polyfill (https://gist.github.com/briancavalier/814313)

dist/vue-resource.min.js

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-resource",
3-
"version": "0.1.3",
3+
"version": "0.1.4",
44
"description": "A web request service for Vue.js",
55
"main": "src/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)