Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xjbieke
axios
提交
c9634866
A
axios
项目概览
xjbieke
/
axios
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
axios
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
c9634866
编写于
8月 27, 2016
作者:
N
Nick Uraltsev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Releasing 0.14.0
上级
66ec8c0a
变更
6
展开全部
显示空白变更内容
内联
并排
Showing
6 changed file
with
22 addition
and
15 deletion
+22
-15
bower.json
bower.json
+1
-1
dist/axios.js
dist/axios.js
+16
-9
dist/axios.map
dist/axios.map
+1
-1
dist/axios.min.js
dist/axios.min.js
+2
-2
dist/axios.min.map
dist/axios.min.map
+1
-1
package.json
package.json
+1
-1
未找到文件。
bower.json
浏览文件 @
c9634866
{
{
"name"
:
"axios"
,
"name"
:
"axios"
,
"main"
:
"./dist/axios.js"
,
"main"
:
"./dist/axios.js"
,
"version"
:
"0.1
3.1
"
,
"version"
:
"0.1
4.0
"
,
"homepage"
:
"https://github.com/mzabriskie/axios"
,
"homepage"
:
"https://github.com/mzabriskie/axios"
,
"authors"
:
[
"authors"
:
[
"Matt Zabriskie"
"Matt Zabriskie"
...
...
dist/axios.js
浏览文件 @
c9634866
/* axios v0.1
3.1
| (c) 2016 by Matt Zabriskie */
/* axios v0.1
4.0
| (c) 2016 by Matt Zabriskie */
(
function
webpackUniversalModuleDefinition
(
root
,
factory
)
{
(
function
webpackUniversalModuleDefinition
(
root
,
factory
)
{
if
(
typeof
exports
===
'
object
'
&&
typeof
module
===
'
object
'
)
if
(
typeof
exports
===
'
object
'
&&
typeof
module
===
'
object
'
)
module
.
exports
=
factory
();
module
.
exports
=
factory
();
...
@@ -87,7 +87,7 @@ return /******/ (function(modules) { // webpackBootstrap
...
@@ -87,7 +87,7 @@ return /******/ (function(modules) { // webpackBootstrap
}
}
// Create the default instance to be exported
// Create the default instance to be exported
var
axios
=
module
.
exports
=
createInstance
();
var
axios
=
createInstance
();
// Expose Axios class to allow class inheritance
// Expose Axios class to allow class inheritance
axios
.
Axios
=
Axios
;
axios
.
Axios
=
Axios
;
...
@@ -103,6 +103,11 @@ return /******/ (function(modules) { // webpackBootstrap
...
@@ -103,6 +103,11 @@ return /******/ (function(modules) { // webpackBootstrap
};
};
axios
.
spread
=
__webpack_require__
(
21
);
axios
.
spread
=
__webpack_require__
(
21
);
module
.
exports
=
axios
;
// Allow use of default import syntax in TypeScript
module
.
exports
.
default
=
axios
;
/***/
},
/***/
},
/* 2 */
/* 2 */
...
@@ -887,7 +892,7 @@ return /******/ (function(modules) { // webpackBootstrap
...
@@ -887,7 +892,7 @@ return /******/ (function(modules) { // webpackBootstrap
var
cookies
=
__webpack_require__
(
18
);
var
cookies
=
__webpack_require__
(
18
);
// Add xsrf header
// Add xsrf header
var
xsrfValue
=
config
.
withCredentials
||
isURLSameOrigin
(
config
.
url
)
?
var
xsrfValue
=
(
config
.
withCredentials
||
isURLSameOrigin
(
config
.
url
))
&&
config
.
xsrfCookieName
?
cookies
.
read
(
config
.
xsrfCookieName
)
:
cookies
.
read
(
config
.
xsrfCookieName
)
:
undefined
;
undefined
;
...
@@ -926,14 +931,16 @@ return /******/ (function(modules) { // webpackBootstrap
...
@@ -926,14 +931,16 @@ return /******/ (function(modules) { // webpackBootstrap
}
}
// Handle progress if needed
// Handle progress if needed
if
(
typeof
config
.
progress
===
'
function
'
)
{
if
(
typeof
config
.
onDownloadProgress
===
'
function
'
)
{
if
(
config
.
method
===
'
post
'
||
config
.
method
===
'
put
'
)
{
request
.
addEventListener
(
'
progress
'
,
config
.
onDownloadProgress
);
request
.
upload
.
addEventListener
(
'
progress
'
,
config
.
progress
);
}
else
if
(
config
.
method
===
'
get
'
)
{
request
.
addEventListener
(
'
progress
'
,
config
.
progress
);
}
}
// Not all browsers support upload events
if
(
typeof
config
.
onUploadProgress
===
'
function
'
&&
request
.
upload
)
{
request
.
upload
.
addEventListener
(
'
progress
'
,
config
.
onUploadProgress
);
}
}
if
(
requestData
===
undefined
)
{
if
(
requestData
===
undefined
)
{
requestData
=
null
;
requestData
=
null
;
}
}
...
...
dist/axios.map
浏览文件 @
c9634866
此差异已折叠。
点击以展开。
dist/axios.min.js
浏览文件 @
c9634866
此差异已折叠。
点击以展开。
dist/axios.min.map
浏览文件 @
c9634866
此差异已折叠。
点击以展开。
package.json
浏览文件 @
c9634866
{
{
"name"
:
"axios"
,
"name"
:
"axios"
,
"version"
:
"0.1
3.1
"
,
"version"
:
"0.1
4.0
"
,
"description"
:
"Promise based HTTP client for the browser and node.js"
,
"description"
:
"Promise based HTTP client for the browser and node.js"
,
"main"
:
"index.js"
,
"main"
:
"index.js"
,
"scripts"
:
{
"scripts"
:
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录