readium / r2-shared-js

Shared models for Readium Desktop
BSD 3-Clause "New" or "Revised" License
11 stars 12 forks source link

Please Daniel remove this line, it's particularly boring in thorium #21

Open panaC opened 4 years ago

panaC commented 4 years ago

https://github.com/readium/r2-shared-js/blob/21413709b1675c8a61428c5a0de3ec55c6baf504/src/models/publication-link.ts#L152

danielweck commented 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:

https://github.com/visionmedia/debug#wildcards

danielweck commented 4 years ago

Related issue: https://github.com/readium/readium-desktop/issues/906

danielweck commented 4 years ago

Note that this applies to all r2-xxx-js components, not just r2-shared-js.