Changed the file structure for ease of handling from tsd and added several utility classes.

This commit is contained in:
satoru kimura
2014-10-30 12:57:24 +09:00
parent 1a9210fff5
commit 62b76782c8
12 changed files with 134 additions and 16 deletions
+16
View File
@@ -0,0 +1,16 @@
// Type definitions for Detector.js
// Project: https://github.com/mrdoob/three.js/blob/master/examples/js/Detector.js
// Definitions by: Satoru Kimura <https://github.com/gyohk>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
interface DetectorStatic {
canvas: boolean;
webgl: boolean;
workers: boolean;
fileapi: boolean;
getWebGLErrorMessage(): HTMLElement;
addGetWebGLMessage(parameters?: {id?: string; parent?: HTMLElement}): void;
}
declare var Detector: DetectorStatic;