Open panaC opened 4 years ago
TODO: remove all instances of console.log()
(not just in the _OnDeserialized()
handlers), and replace with debug()
where appropriate. This way, the DEBUG
environment variable can be used to explicitly exclude unwanted messages from the console log:
Related issue: https://github.com/readium/readium-desktop/issues/906
Note that this applies to all r2-xxx-js
components, not just r2-shared-js
.
https://github.com/readium/r2-shared-js/blob/21413709b1675c8a61428c5a0de3ec55c6baf504/src/models/publication-link.ts#L152