Skip to content

Commit

Permalink
docs: fix README and update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgianStan committed Dec 13, 2022
1 parent f9538de commit d0c922e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file.

## [v1.4.2](https://github.com/GeorgianStan/vanilla-context-menu/compare/v1.4.2...v1.4.0) (2022-12-13)

## [v1.4.0](https://github.com/GeorgianStan/vanilla-context-menu/compare/v1.3.0...v1.4.0) (2022-10-29)

## [v1.3.0](https://github.com/GeorgianStan/vanilla-context-menu/compare/v1.2.2...v1.3.0) (2022-09-20)

## [v1.2.2](https://github.com/GeorgianStan/vanilla-context-menu/compare/v1.1.0...v1.2.2) (2022-07-15)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
### Browser CDN

```html
<script src="https://unpkg.com/vanilla-context-menu@1.3.0/dist/vanilla-context-menu.js"></script>
<script src="https://unpkg.com/vanilla-context-menu@1.4.1/dist/vanilla-context-menu.js"></script>
```

Where `@1.3.0` is the version that you want to use.
Where `@1.4.1` is the version that you want to use.

Then anywhere in your JavaScript code you can access the library with `window.VanillaContextMenu` or simply `VanillaContextMenu`.

Expand Down Expand Up @@ -159,7 +159,7 @@ updateOptions(configurableOptions: Partial<ConfigurableOptions>): void
```css
.custom-context-menu-cls {
width: 150px;
width: 100px !important;
font-family: 'Roboto', sans-serif; /* DEFAULT -- font-family: 'Open Sans', sans-serif; */
}
```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vanilla-context-menu",
"version": "1.4.1",
"version": "1.4.2",
"description": "Easily create context menus using vanilla JavaScript and integrate them in any web application",
"main": "./dist/vanilla-context-menu.js",
"types": "./dist/index.d.ts",
Expand Down

0 comments on commit d0c922e

Please sign in to comment.