styleguide icon indicating copy to clipboard operation
styleguide copied to clipboard

I can't "toggle summary" on "Google JSON Style Guide"

Open quinefang opened this issue 7 years ago • 2 comments

On the "Google JSON Style Guide" and "Shell Style Guide" pages, I clicked the "Toggle all summaries" button, but nothing happened. I opened the DevTools console and found some error output as follows: screenshot from 2018-01-10 10-15-51

quinefang avatar Jan 10 '18 02:01 quinefang

Currently the only thing I can do is to manually execute the following code in the DevTools console instead:

const els = document.getElementsByClassName('stylepoint_body');
for (let i=0; i<els.length; i++) {  
  els[i].style.display = 'block'; 
}

quinefang avatar Jan 10 '18 03:01 quinefang

the shell guide has been recently updated and no longer has "toggle all" in it at all. so we can drop that from this discussion.

the JSON guide is working for me ... https://google.github.io/styleguide/jsoncstyleguide.xml

vapier avatar Feb 20 '20 02:02 vapier