Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bb207c2

Browse files
committed
remove "simply" and such words from the docs
1 parent 857cf67 commit bb207c2

File tree

4 files changed

+32
-33
lines changed

4 files changed

+32
-33
lines changed

docs/install.md

+14-19
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,28 @@ title: Installation
33
id: docs-install
44
game: arcade
55
---
6-
The easiest way is installing via `npm`:
76

8-
```sh
9-
npm install hyperform
10-
```
7+
Fetch Hyperform in any way you like as laid out on the [downloads page](/download.html).
118

12-
Then require Hyperform in your code:
9+
Then embed `dist/hyperform.min.js` in your file:
1310

14-
```js
15-
var hyperform = require('hyperform');
16-
hyperform(window);
11+
```html
12+
<script src="hyperform/dist/hyperform.min.js"></script>
13+
<link rel="stylesheet" href="hyperform/css/hyperform.css">
14+
<script>hyperform(window);</script>
1715
```
1816

19-
If you do not use Node.js, you can install Hyperform with **Bower**,
17+
If you use a build system like Browserify or Webpack, require Hyperform
18+
in your own Javascript files:
2019

21-
```sh
22-
bower install hyperform
23-
```
24-
25-
or simply download the [current version as ZIP
26-
archive](https://github.com/hyperform/hyperform/archive/master.zip).
20+
```js
21+
// "classic" CJS variant:
22+
var hyperform = require('hyperform');
2723

28-
Then embed `dist/hyperform.min.js` in your file:
24+
// or "newer" ESM variant:
25+
import hyperform from 'hyperform';
2926

30-
```html
31-
<script src="path/to/hyperform/dist/hyperform.min.js"></script>
32-
<script>hyperform(window);</script>
27+
hyperform(window);
3328
```
3429

3530
For Hyperform to work in old IEs you need polyfills for

docs/status.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ game: adarkroom
55
---
66
What parts of the [HTML5 validation
77
API](https://html.spec.whatwg.org/multipage/forms.html#constraints) are ready
8-
for prime time?
8+
for prime time? (:full_moon:: finished, :new_moon:: work-in-progress)
99

1010
| feature | status | comment |
1111
| ---------------------------- | ----------- | ------------------ |

download.md

+15-11
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Download the whole project as Zip file:
1111
<a class="arcade-btn" href="https://github.com/hyperform/hyperform/archive/master.zip">Press Button for Download</a>
1212

1313
In this archive you will find the files `dist/hyperform.min.js` and
14-
`css/hyperform.css`. Simply include them in your project, and you’re ready to
14+
`css/hyperform.css`. Include them in your project, and you’re ready to
1515
go:
1616

1717
```html
@@ -22,24 +22,28 @@ go:
2222

2323
## Install via Package Managers
2424

25-
The easiest way is installing via `npm`:
25+
Hyperform is available from a package manager near you:
2626

2727
```sh
28+
# npm
2829
$ npm install hyperform
30+
# yarn
31+
$ yarn add hyperform
32+
# bower
33+
$ bower install hyperform
2934
```
3035

31-
or you can use Bower:
36+
These installations provide you with the same files as the direct download
37+
above.
3238

33-
```sh
34-
bower install hyperform
35-
```
36-
37-
Both methods provide you with the same files as the direct download above.
38-
39-
If you use a build system like Browserify or Webpack, simply require Hyperform
40-
there:
39+
If you use a build system like Browserify or Webpack, require Hyperform
40+
in your own Javascript files:
4141

4242
```js
43+
// "classic" CJS variant:
44+
var hyperform = require('hyperform');
45+
46+
// or "newer" ESM variant:
4347
import hyperform from 'hyperform';
4448

4549
hyperform(window);

index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ eases your validation task with custom events and hooks.
2626
</a>
2727
</div>
2828

29-
Hyperform is neatly packed in a single Javascript file and weights only 31kB
30-
(8.9kB gzipped!) and includes:
29+
Hyperform is neatly packed in a single Javascript file, weights only 32kB
30+
(9.3kB gzipped!) and includes:
3131

3232
* a **full, working and compliant implementation** of the whole [HTML 5
3333
constraint

0 commit comments

Comments
 (0)