First development of the deploy action (#6)
Some checks failed
Lint / pre-commit Linting (push) Has been cancelled
Some checks failed
Lint / pre-commit Linting (push) Has been cancelled
Deploy js code to an instance of screeps. Some debugging tools are implemented. Reviewed-on: #6 Co-authored-by: Philipp Horstenkamp <philipp@horstenkamp.de> Co-committed-by: Philipp Horstenkamp <philipp@horstenkamp.de>
This commit is contained in:
36
node_modules/fetch-ponyfill/README.md
generated
vendored
Normal file
36
node_modules/fetch-ponyfill/README.md
generated
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
# Fetch Ponyfill
|
||||
|
||||
[](https://greenkeeper.io/)
|
||||
|
||||
> WHATWG `fetch` [ponyfill](https://ponyfill.com)
|
||||
|
||||
This module wraps the [github/fetch](https://github.com/github/fetch) polyfill in a CommonJS module
|
||||
for browserification, and avoids appending anything to the window, instead returning a setup
|
||||
function when `fetch-ponyfill` is required. Inspired by
|
||||
[object-assign](https://github.com/sindresorhus/object-assign).
|
||||
|
||||
When used in Node, delegates to `node-fetch` instead.
|
||||
|
||||
## Usage
|
||||
|
||||
### Browserify
|
||||
|
||||
```javascript
|
||||
const {fetch, Request, Response, Headers} = require('fetch-ponyfill')(options);
|
||||
```
|
||||
|
||||
### Webpack
|
||||
|
||||
```javascript
|
||||
import fetchPonyfill from 'fetch-ponyfill';
|
||||
const {fetch, Request, Response, Headers} = fetchPonyfill(options);
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
Where `options` is an object with the following optional properties:
|
||||
|
||||
| option | description |
|
||||
| ------ | ----------- |
|
||||
| `Promise` | An A+ Promise implementation. Defaults to `window.Promise` in the browser, and `global.Promise` in Node. |
|
||||
| `XMLHttpRequest` | The XMLHttpRequest constructor. This is useful to feed in when working with Firefox OS. Defaults to `window.XMLHttpRequest`. Has no effect in Node. |
|
Reference in New Issue
Block a user