binaryage / cljs-devtools

A collection of Chrome DevTools enhancements for ClojureScript developers
Other
1.11k stars 51 forks source link

Generalize code and documentation to include Firefox #71

Open SebastianZ opened 2 years ago

SebastianZ commented 2 years ago

An implementation for custom formatters in Firefox is on its way. So the code and documentaton of the CLJS DevTools should account for that.

Currently, there's an explicit check for Chrome 47 in the formatters code.

One possibility would be to simply remove the check and the logic around it as browsers not supporting custom formatters simply display the logged objects with their normal rendering. The downside of that approach is, of course, that there won't be a hint anymore when the custom formatters couldn't be applied.

And the documentation is also still very much focused on Chrome as browser. Once the implementation in Firefox stands, all mentions in the documentation should reflect that. This means, adding Firefox where necessary or removing the wording related to Chrome where possible.

Sebastian

elken commented 1 year ago

https://firefox-source-docs.mozilla.org/devtools-user/custom_formatters/index.html it's actually out now :) image

image