File tree Expand file tree Collapse file tree 3 files changed +13
-5
lines changed
Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 11# Change Log
22
3+ ## [ v3.1.0] ( https://github.com/kabirbaidhya/keycode-js/tree/v3.1.0 ) (2020-06-14)
4+ [ Full Changelog] ( https://github.com/kabirbaidhya/keycode-js/compare/v3.0.0...v3.1.0 )
5+
6+ ** Changes**
7+
8+ - Add key event code constants [ \# 38] ( https://github.com/kabirbaidhya/keycode-js/pull/38 ) [[ feature] ( https://github.com/kabirbaidhya/keycode-js/labels/feature )] ([ kabirbaidhya] ( https://github.com/kabirbaidhya ) )
9+ - Add key value constants [ \# 37] ( https://github.com/kabirbaidhya/keycode-js/pull/37 ) [[ feature] ( https://github.com/kabirbaidhya/keycode-js/labels/feature )] ([ kabirbaidhya] ( https://github.com/kabirbaidhya ) )
10+
311## [ v3.0.0] ( https://github.com/kabirbaidhya/keycode-js/tree/v3.0.0 ) (2020-06-05)
412[ Full Changelog] ( https://github.com/kabirbaidhya/keycode-js/compare/v2.0.3...v3.0.0 )
513
Original file line number Diff line number Diff line change 11# KeyCode Constants
22
33[ ![ npm version] ( https://img.shields.io/npm/v/keycode-js.svg?style=flat-square )] ( https://www.npmjs.com/package/keycode-js )
4- [ ![ deno] ( https://img.shields.io/badge/deno-v3.0 .0-green?style=flat-square )] ( https://deno.land/x/keycode/README.md#usagewithdeno )
4+ [ ![ deno] ( https://img.shields.io/badge/deno-v3.1 .0-green?style=flat-square )] ( https://deno.land/x/keycode/README.md#usagewithdeno )
55[ ![ Build Status] ( https://img.shields.io/travis/kabirbaidhya/keycode-js.svg?style=flat-square )] ( https://travis-ci.org/kabirbaidhya/keycode-js )
66[ ![ Language grade: JavaScript] ( https://img.shields.io/lgtm/grade/javascript/g/kabirbaidhya/keycode-js.svg?style=flat-square&logo=lgtm&logoWidth=18 )] ( https://lgtm.com/projects/g/kabirbaidhya/keycode-js/context:javascript )
77[ ![ npm downloads per week] ( https://img.shields.io/npm/dw/keycode-js.svg?style=flat-square )] ( https://www.npmjs.com/package/keycode-js )
@@ -45,7 +45,7 @@ import { KEY_RETURN } from 'keycode-js';
4545Or, using ` <script> ` tag:
4646
4747``` html
48- <script src =" https://unpkg.com/keycode-js@3.0 .0/dist/keycode.min.js" ></script >
48+ <script src =" https://unpkg.com/keycode-js@3.1 .0/dist/keycode.min.js" ></script >
4949```
5050
5151Finally:
@@ -80,10 +80,10 @@ window.addEventListener('keyup', function(e) {
8080
8181``` ts
8282// Import all constants
83- import * as KeyCode from ' https://deno.land/x/keycode@v3.0 .0/mod.ts' ;
83+ import * as KeyCode from ' https://deno.land/x/keycode@v3.1 .0/mod.ts' ;
8484
8585// Import individual constants
86- import { KEY_ENTER } from ' https://deno.land/x/keycode@v3.0 .0/mod.ts' ;
86+ import { KEY_ENTER } from ' https://deno.land/x/keycode@v3.1 .0/mod.ts' ;
8787
8888console .assert (KeyCode .KEY_ENTER === KEY_ENTER );
8989```
Original file line number Diff line number Diff line change 11{
22 "name" : " keycode-js" ,
3- "version" : " 3.0 .0" ,
3+ "version" : " 3.1 .0" ,
44 "description" : " A JavaScript package with Key Code constants" ,
55 "license" : " MIT" ,
66 "author" : " Kabir Baidhya <kabirbaidhya@gmail.com>" ,
You can’t perform that action at this time.
0 commit comments