Skip to content

Commit

Permalink
Variable name fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
micz authored May 11, 2024
1 parent a7a2071 commit f1805f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ The method will load the string_pref value if present, or the default one, to th
Otherwise you can get many preferences at once using the `getPrefs` method:

```javascript
let string_prefs = await ADDON_prefs.getPrefs(["test_number","test_string"]);
let prefs = await ADDON_prefs.getPrefs(["test_number","test_string"]);
```
The method will load the values if present, or the default ones, to an object like:

Expand Down

0 comments on commit f1805f8

Please sign in to comment.