File tree Expand file tree Collapse file tree 8 files changed +44
-47
lines changed Expand file tree Collapse file tree 8 files changed +44
-47
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"parserOptions" : {
3
- "ecmaVersion" : 5
3
+ "ecmaVersion" : 6 ,
4
+ "sourceType" : " module"
4
5
},
5
6
"extends" : " eslint:recommended" ,
6
7
"env" : {
7
- "commonjs" : true ,
8
8
"browser" : true
9
9
},
10
10
"rules" : {
Original file line number Diff line number Diff line change @@ -13,10 +13,12 @@ jobs:
13
13
- uses : actions/checkout@v2
14
14
15
15
- uses : purescript-contrib/setup-purescript@main
16
+ with :
17
+ purescript : " unstable"
16
18
17
- - uses : actions/setup-node@v1
19
+ - uses : actions/setup-node@v2
18
20
with :
19
- node-version : " 10 "
21
+ node-version : " 14 "
20
22
21
23
- name : Install dependencies
22
24
run : |
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ Notable changes to this project are documented in this file. The format is based
5
5
## [ Unreleased]
6
6
7
7
Breaking changes:
8
+ - Migrate FFI to ES modules (#9 by @JordanMartinez )
8
9
9
10
New features:
10
11
Original file line number Diff line number Diff line change 15
15
" package.json"
16
16
],
17
17
"dependencies" : {
18
- "purescript-web-uievents" : " ^3.0.0 "
18
+ "purescript-web-uievents" : " master "
19
19
}
20
20
}
Original file line number Diff line number Diff line change 6
6
},
7
7
"devDependencies" : {
8
8
"eslint" : " ^7.15.0" ,
9
- "pulp" : " ^15 .0.0" ,
10
- "purescript-psa" : " ^0.8.0 " ,
9
+ "pulp" : " 16 .0.0- 0" ,
10
+ "purescript-psa" : " ^0.8.2 " ,
11
11
"rimraf" : " ^2.6.2"
12
12
}
13
13
}
Original file line number Diff line number Diff line change 1
- "use strict" ;
2
-
3
- exports . identifier = function ( t ) {
1
+ export function identifier ( t ) {
4
2
return t . identifier ;
5
- } ;
3
+ }
6
4
7
- exports . screenX = function ( t ) {
5
+ export function screenX ( t ) {
8
6
return t . screenX ;
9
- } ;
7
+ }
10
8
11
- exports . screenY = function ( t ) {
9
+ export function screenY ( t ) {
12
10
return t . screenY ;
13
- } ;
11
+ }
14
12
15
- exports . clientX = function ( t ) {
13
+ export function clientX ( t ) {
16
14
return t . clientX ;
17
- } ;
15
+ }
18
16
19
- exports . clientY = function ( t ) {
17
+ export function clientY ( t ) {
20
18
return t . clientY ;
21
- } ;
19
+ }
22
20
23
- exports . pageX = function ( t ) {
21
+ export function pageX ( t ) {
24
22
return t . pageX ;
25
- } ;
23
+ }
26
24
27
- exports . pageY = function ( t ) {
25
+ export function pageY ( t ) {
28
26
return t . pageY ;
29
- } ;
27
+ }
30
28
31
- exports . target = function ( t ) {
29
+ export function target ( t ) {
32
30
return t . target ;
33
- } ;
31
+ }
Original file line number Diff line number Diff line change 1
- "use strict" ;
2
-
3
- exports . touches = function ( e ) {
1
+ export function touches ( e ) {
4
2
return e . touches ;
5
- } ;
3
+ }
6
4
7
- exports . targetTouches = function ( e ) {
5
+ export function targetTouches ( e ) {
8
6
return e . targetTouches ;
9
- } ;
7
+ }
10
8
11
- exports . changedTouches = function ( e ) {
9
+ export function changedTouches ( e ) {
12
10
return e . changedTouches ;
13
- } ;
11
+ }
14
12
15
- exports . altKey = function ( e ) {
13
+ export function altKey ( e ) {
16
14
return e . altKey ;
17
- } ;
15
+ }
18
16
19
- exports . metaKey = function ( e ) {
17
+ export function metaKey ( e ) {
20
18
return e . metaKey ;
21
- } ;
19
+ }
22
20
23
- exports . ctrlKey = function ( e ) {
21
+ export function ctrlKey ( e ) {
24
22
return e . ctrlKey ;
25
- } ;
23
+ }
26
24
27
- exports . shiftKey = function ( e ) {
25
+ export function shiftKey ( e ) {
28
26
return e . shiftKey ;
29
- } ;
27
+ }
Original file line number Diff line number Diff line change 1
- "use strict" ;
2
-
3
- exports . length = function ( l ) {
1
+ export function length ( l ) {
4
2
return l . length ;
5
- } ;
3
+ }
6
4
7
- exports . _item = function ( i , l ) {
5
+ export function _item ( i , l ) {
8
6
return l . item ( i ) ;
9
- } ;
7
+ }
You can’t perform that action at this time.
0 commit comments