Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Dom window fixes

  • Loading branch information...
commit a1890e9887300c03aacd1db4465e596f2f67570f 1 parent 8901f8c
Jake Donham authored

Showing 2 changed files with 10 additions and 0 deletions. Show diff stats Hide diff stats

  1. +5 0 src/dom/dom.ml
  2. +5 0 src/dom/dom.mli
5 src/dom/dom.ml
@@ -438,10 +438,15 @@ end
438 438
439 439 class type window =
440 440 object
  441 + inherit element
  442 +
441 443 method _set_onload : (unit -> unit) -> unit
442 444 method _set_onbeforeunload : (unit -> string) -> unit
443 445 method _get_location : location
444 446
  447 + method _get_innerWidth : int
  448 + method _get_innerHeight : int
  449 +
445 450 method alert : string -> unit
446 451 method confirm : string -> bool
447 452
5 src/dom/dom.mli
@@ -444,10 +444,15 @@ end
444 444
445 445 class type window =
446 446 object
  447 + inherit element
  448 +
447 449 method _set_onload : (unit -> unit) -> unit
448 450 method _set_onbeforeunload : (unit -> string) -> unit
449 451 method _get_location : location
450 452
  453 + method _get_innerWidth : int
  454 + method _get_innerHeight : int
  455 +
451 456 method alert : string -> unit
452 457 method confirm : string -> bool
453 458

0 comments on commit a1890e9

Please sign in to comment.
Something went wrong with that request. Please try again.