Adding an robustness test before using the registered events member.
[dygraphs.git] / closure-todo.txt
... / ...
CommitLineData
1Many of the functions and methods in the dygraphs source have some form of
2Closure annotations on them ("@param", "@return", "@private", etc.).
3
4These provide some documentation value, but they were largely written by
5developers who had never used the Closure Compiler and so the syntax is
6often not quite correct.
7
8This file tracks which files have been fully "closurized", i.e. compile
9under the Closure Compiler without any errors or warnings.
10
11Core:
12- dygraph-canvas.js
13- dygraph-interaction-model.js
14- dygraph-layout.js
15- dygraph-options.js
16- dygraph-range-selector.js
17- dygraph.js
18x dygraph-gviz.js
19x dygraph-tickers.js
20x dygraph-options-reference.js
21x dygraph-utils.js
22x dashed-canvas.js
23
24Plugins:
25- plugins/annotations.js
26- plugins/axes.js
27- plugins/base.js
28- plugins/chart-labels.js
29- plugins/grid.js
30- plugins/install.js
31- plugins/legend.js
32
33Here's a command that can be used to build dygraphs using the closure
34compiler:
35java -jar ../../closure-compiler-read-only/build/compiler.jar --js=dygraph-utils.js --js=dashed-canvas.js --js=dygraph-options-reference.js --js=dygraph-tickers.js --js=dygraph-gviz.js --js_output_file=/tmp/out.js --compilation_level ADVANCED_OPTIMIZATIONS --warning_level VERBOSE --externs dygraph-externs.js
36
37As each file is closurized, it can be added as a "--js" parameter.