Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Sascha L authored Aug 5, 2017
1 parent b443b70 commit d85ced6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,17 @@ A simple and short javascript-based password generator
- debug information

## usage
- Add the latest jQuery via Google Hosted Libraries to your project head
- Add the `pwgen.js` or (`pwgen.min.js`) file aswell
- If you want to display SHA1 hashes include `sha1.min.js` aswell
```html
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="js/pwgen.js"></script>
<script src="js/sha1.min.js"></script>
</head>
```
Add this at the end of your file:
```html
<script>
$('.your-class').pwgen();
Expand Down

0 comments on commit d85ced6

Please sign in to comment.