dygraph-utils.js compiles under closure with no warnings or errors
[dygraphs.git] / dygraph-externs.js
CommitLineData
f11283de
DV
1/**
2 * @param {Object} dict
3 * @return {!Array.<string>}
4 */
5function printStackTrace(dict) {}
6
7
8/**
9 * @constructor
10 */
11function G_vmlCanvasManager() {}
12
13/**
14 * @param {!HTMLCanvasElement} canvas
15 */
16G_vmlCanvasManager.initElement = function(canvas) {};
17
18// For IE
19/**
20 * @param {string} type
21 * @param {Object} fn
22 */
23Element.prototype.detachEvent = function(type, fn) {};
24
25
26// TODO(danvk): move the Dygraph definitions out of here once I closure-ify dygraphs.js
27
28/**
29 * @constructor
30 */
31function Dygraph() {}
32
33/** @type {Array.<{elem:Element,type:string,fn:function(!Event):(boolean|undefined|null)}>} */
34Dygraph.prototype.registeredEvents_;