mirror of
https://github.com/axios/axios.git
synced 2026-04-13 15:01:54 +08:00
* Revert "Update Webpack + deps, remove now unnecessary polyfills (#2410)"
This reverts commit 189b34c45a.
* Fix build (#2496)
* Change syntax to see if build passes
* Test commit
* Test with node 10
* Test adding all browsers in travis
* remove other browsers when running on travis
21 lines
516 B
HTML
21 lines
516 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
</head>
|
|
<body>
|
|
|
|
An alert should be shown with the <code>{"name":"axios"}</code>
|
|
|
|
<script src="promise.js"></script>
|
|
<script src="../../dist/axios.js"></script>
|
|
<script>
|
|
axios.get('./fixture.json').then(function(response) {
|
|
console.log(response);
|
|
alert(JSON.stringify(response.data));
|
|
alert('response headers:\n\n' + JSON.stringify(response.headers));
|
|
}, function(err) { console.log(err) });
|
|
</script>
|
|
|
|
</body>
|
|
</html> |