Open voodoos opened 4 years ago
Yes, lots of reformat are needed :)
class
from es6,switch
instead of if
, though for me they are the same,next()
. This is because I haven't yet implemented a start()
method to engine
.showToC
to buildToC
and then write showHideToC
which is what will be called by pressing t
. Pressing T
rebuilds the table of content in the DOM and should now be deleted.
Not for merging yet
I would like to start a series of opinionated code cleanup: Now that we use
babel
es6 features can be used without restrictions.Changes
Change I made for now, only in
controller.mjs
class
def for the controller.if
sequences byswitch
es. This is very opinionated, I can rewind if needed.jshint
and reformat withjavascript prettier
. We might want to add these tools to the build chain.Questions
Most of the key shortcuts do nothing, is that expected ? (zoom, rotate etc) What is the difference between "t" and "T" ?