This repository was archived by the owner on Oct 4, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +60
-0
lines changed Expand file tree Collapse file tree 4 files changed +60
-0
lines changed Original file line number Diff line number Diff line change 1+ "use strict" ;
2+
3+ // module DOM.Event.CloseEvent
4+
5+ exports . code = function ( e ) {
6+ e . code ;
7+ } ;
8+
9+ exports . reason = function ( e ) {
10+ e . reason ;
11+ } ;
12+
13+ exports . wasClean = function ( e ) {
14+ e . wasClean ;
15+ } ;
Original file line number Diff line number Diff line change 1+ module DOM.Event.CloseEvent
2+ ( code
3+ , reason
4+ , wasClean
5+ ) where
6+
7+ import Data.Maybe.Unsafe as U
8+ import DOM.Event.Types (CloseEvent )
9+
10+
11+ foreign import code :: CloseEvent -> Int
12+ foreign import reason :: CloseEvent -> String
13+ foreign import wasClean :: CloseEvent -> Boolean
Original file line number Diff line number Diff line change 1+ "use strict" ;
2+
3+ // module DOM.Event.ErrorEvent
4+
5+ exports . message = function ( e ) {
6+ e . message ;
7+ } ;
8+
9+ exports . fileName = function ( e ) {
10+ e . filename ;
11+ } ;
12+
13+ exports . lineNo = function ( e ) {
14+ e . lineno ;
15+ } ;
16+
17+ exports . colNo = function ( e ) {
18+ e . colno ;
19+ } ;
Original file line number Diff line number Diff line change 1+ module DOM.Event.ErrorEvent
2+ ( message
3+ , fileName
4+ , lineNo
5+ , colNo
6+ ) where
7+
8+ import DOM.Event.Types (ErrorEvent )
9+
10+ foreign import message :: ErrorEvent -> String
11+ foreign import fileName :: ErrorEvent -> String
12+ foreign import lineNo :: ErrorEvent -> Int
13+ foreign import colNo :: ErrorEvent -> Int
You can’t perform that action at this time.
0 commit comments