71515cdd67f0fd545d5446f6f36875ab4aa2a37a
[dygraphs.git] / dygraph-externs.js
1 /**
2 * @param {Object} dict
3 * @return {!Array.<string>}
4 */
5 function printStackTrace(dict) {}
6
7
8 /**
9 * @constructor
10 */
11 function G_vmlCanvasManager() {}
12
13 /**
14 * @param {!HTMLCanvasElement} canvas
15 */
16 G_vmlCanvasManager.initElement = function(canvas) {};
17
18 // For IE
19 /**
20 * @param {string} type
21 * @param {Object} fn
22 */
23 Element.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 */
31 function Dygraph() {}
32
33 /** @type {Array.<{elem:Element,type:string,fn:function(!Event):(boolean|undefined|null)}>} */
34 Dygraph.prototype.registeredEvents_;