Mind renaming.
[dygraphs.git] / closure-todo.txt
CommitLineData
d67a4279
DV
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
0bb99c82
DV
11Core:
12- dygraph-canvas.js
0bb99c82
DV
13- dygraph-interaction-model.js
14- dygraph-layout.js
3f265488 15x dygraph-options.js
0bb99c82 16- dygraph.js
d67a4279 17x dygraph-gviz.js
b2867ee1 18x dygraph-tickers.js
0bb99c82
DV
19x dygraph-options-reference.js
20x dygraph-utils.js
21x dashed-canvas.js
1beeb310
KW
22- dygraph-plugin-base.js
23- dygraph-plugin-install.js
0bb99c82
DV
24
25Plugins:
26- plugins/annotations.js
27- plugins/axes.js
0bb99c82
DV
28- plugins/chart-labels.js
29- plugins/grid.js
0bb99c82 30- plugins/legend.js
24c21362 31- plugins/range-selector.js
0bb99c82 32
a49c164a
DE
33Datahandler:
34- datahandler/bars-custom.js
35- datahandler/bars-error.js
36- datahandler/bars-fractions.js
37- datahandler/bars.js
38- datahandler/datahandler.js
39- datahandler/default-fractions.js
40- datahandler/default.js
41
d67a4279
DV
42Here's a command that can be used to build dygraphs using the closure
43compiler:
3f265488 44java -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=dygraph-options.js --js_output_file=/tmp/out.js --compilation_level ADVANCED_OPTIMIZATIONS --warning_level VERBOSE --externs dygraph-externs.js
d67a4279
DV
45
46As each file is closurized, it can be added as a "--js" parameter.