File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -207,11 +207,15 @@ function createFactory(class_) {
207207exports . createFactory = createFactory ;
208208
209209function preventDefault ( event ) {
210- return function ( ) { return event . preventDefault ( ) ; }
210+ return function ( ) {
211+ event . preventDefault ( ) ;
212+ } ;
211213} ;
212214exports . preventDefault = preventDefault ;
213215
214216function stopPropagation ( event ) {
215- return function ( ) { return event . stopPropagation ( ) ; }
217+ return function ( ) {
218+ event . stopPropagation ( ) ;
219+ } ;
216220} ;
217221exports . stopPropagation = stopPropagation ;
Original file line number Diff line number Diff line change @@ -465,6 +465,6 @@ foreign import data Children :: Type
465465-- | Internal conversion function from children elements to an array of React elements
466466foreign import childrenToArray :: Children -> Array ReactElement
467467
468- foreign import preventDefault :: forall eff a . Event -> Eff eff a
468+ foreign import preventDefault :: forall eff . Event -> Eff eff Unit
469469
470- foreign import stopPropagation :: forall eff a . Event -> Eff eff a
470+ foreign import stopPropagation :: forall eff . Event -> Eff eff Unit
You can’t perform that action at this time.
0 commit comments