Skip to content

Commit 014c655

Browse files
committed
Added JSHint, fixed numerous bugs, improved tests, updated README, v0.4.0-beta.2
1 parent 21749d5 commit 014c655

File tree

6 files changed

+224
-99
lines changed

6 files changed

+224
-99
lines changed

.travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ cache:
1010
- "node_modules"
1111

1212
script:
13+
# Run code checks
14+
- npm run compat
1315
# Run tests
1416
- npm run test
1517
- npm run test_node

README.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ JavaScript client for the openEO API.
77
This client is in **version 0.4.0-beta.2** and supports **openEO API versions 0.4**. Legacy versions are available as releases.
88

99
## Usage
10-
This library can run in a recent browser supporting ECMAScript 2015 or node.js.
10+
11+
This library can run in node.js or any recent browser supporting ECMAScript 2017 (ES8). This includes [mostly all browsers released after mid 2017, but excludes Internet Explorer 11](https://caniuse.com/#search=async%20functions).
1112

1213
### Browser environment
1314

@@ -29,6 +30,14 @@ Generate a minified build: `npm run build`
2930

3031
Generate the documentation to the `docs/` folder: `npm run docs`
3132

33+
Check against the coding guidelines: `npm run compat`
34+
35+
Run tests:
36+
37+
* `npm run test` (basic browser-based tests)
38+
* `npm run test_node` (basic node-based tests)
39+
* `npm run test_gee` (full test suite using the Google Earth Engine back-end as server)
40+
3241
### Running a job
3342

3443
```js

0 commit comments

Comments
 (0)