WIP

WIP

WIP

WIP

WIP

WIP: Remove trailing newlines

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP: All tests pass

WIP

WIP

WIP
This commit is contained in:
Andy Hanson
2016-11-28 11:16:06 -08:00
parent cd4debea25
commit 89fa98a712
1473 changed files with 77478 additions and 76346 deletions
+5 -5
View File
@@ -13,12 +13,12 @@ declare enum JavaAppletStatus {
* @summary Applet is loading.
*/
Loading = 1,
/**
* @summary Applet has loaded completely and is ready to receive JavaScript calls.
*/
Ready = 2,
/**
* @summary Error while loading applet.
*/
@@ -36,19 +36,19 @@ interface JavaApplet extends HTMLAppletElement {
* @type {Function}
*/
onError?: Function;
/**
* @summary Handler if the applet status is {@link JavaAppletStatus#Ready}. Applet has finished loading and is ready to receive JavaScript calls.
* @type {Function}
*/
onLoad?: Function;
/**
* @summary Handler if the applet has stopped.
* @type {Function}
*/
onStop?: Function;
/**
* @summary Java applet Status.
* @type {JavaAppletStatus}
+1 -1
View File
@@ -21,7 +21,7 @@ function testStatus() {
*/
function testHandlers() {
var applet: JavaApplet = <JavaApplet>document.getElementById('applet');
var handler: Function = () => {};
applet.onError = handler;
applet.onLoad = handler;