Skip to content

Commit d85ced6

Browse files
author
Sascha L
authored
Update README.md
1 parent b443b70 commit d85ced6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,17 @@ A simple and short javascript-based password generator
88
- debug information
99

1010
## usage
11+
- Add the latest jQuery via Google Hosted Libraries to your project head
12+
- Add the `pwgen.js` or (`pwgen.min.js`) file aswell
13+
- If you want to display SHA1 hashes include `sha1.min.js` aswell
14+
```html
15+
<head>
16+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
17+
<script src="js/pwgen.js"></script>
18+
<script src="js/sha1.min.js"></script>
19+
</head>
20+
```
21+
Add this at the end of your file:
1122
```html
1223
<script>
1324
$('.your-class').pwgen();

0 commit comments

Comments
 (0)