Skip to content
Commit 33bc2d40 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Large refactoring of JsDuck::App class.

Splitting the output routines into three classes:

- StdoutExporter
- JsonExporter
- HtmlExporter

Additionally creating ClassWriter class for outputting the .js or .json
files. This one isn't pretty, but I have to share the output logic
between JsonExporter and StdoutExporter.

Another nastiness is the format_classes method which has to run BEFORE
writing out classes JSON, but AFTER the source HTML files have been
created - because of the parallel stuff. Brr...

At least the App class now has less responsibilities, but further
refactorings are needed.
parent d88c15fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment