Skip to content

Commit 2b40f4c

Browse files
authored
Update README.md
1 parent f52bbc5 commit 2b40f4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Now that you've loaded the module, you can [start using it](#usage-1).
9292
```
9393

9494
##### Usage
95-
The `<script>` tag exposes the `languageEncoding` function to everything in the DOM located beneath it. You should have no trouble accessing it with Javascript by calling the `languageEncoding` function and passing in the file that you want to analyze as the only argument. As you can see in the example below, `languageEncoding` returns a Promise that you can use to retrieve the encoding, language and confidenc score of any text file as long as your text file is large enough.
95+
The `<script>` tag exposes the `languageEncoding` function to everything in the DOM located beneath it. When you call it and pass in the file that you want to analyze, it'll return a Promise that you can use to retrieve the encoding, language and confidenc score as shown in the example below.
9696

9797
```js
9898
// app.js

0 commit comments

Comments
 (0)