Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'start from scratch' sections are not getting revealed #53

Open
bass3l opened this issue Sep 21, 2017 · 6 comments
Open

'start from scratch' sections are not getting revealed #53

bass3l opened this issue Sep 21, 2017 · 6 comments

Comments

@bass3l
Copy link

bass3l commented Sep 21, 2017

Most of the guides with 'start from scratch' section are not getting revealed when you click on them like 'Build with Maven', I opened the console and found the following error:

Uncaught TypeError: Cannot read property 'innerHTML' of null

more specifically on main.js line 1867 after prettifying :

       var a = {
                ready: function() {
                    var a = null;
                    e("pre").addClass("prettyprint").each(function(b, c) {
                        a = c.firstChild,
                        a.innerHTML = f.prettyPrintOne(a.innerHTML) // HERE
                    })
                },
                destroy: function() {}
            };

using Chrome version 60.0.3112.113

@dsyer
Copy link
Contributor

dsyer commented Sep 21, 2017

Can you give a specific example? All the guides I looked at have a section called "Build with Maven" and "Build with Gradle", both of which have |> icons and hide and reveal features that work for me. None of them has a section called "start from scratch" (just a paragraph with those words in it). The link in that paragraph is always to "Build with Gradle", which seems like a bug, but that's not what you seem to be seeing.

@bass3l
Copy link
Author

bass3l commented Sep 21, 2017

ok, here is one : rest-service-cors

and here's a screenshot for the section that I mean for clarification :

image

@dsyer
Copy link
Contributor

dsyer commented Sep 21, 2017

Right, and that's the same as I see (there is no "start from scratch" section). What is it that doesn't work as expected?

@bass3l
Copy link
Author

bass3l commented Sep 21, 2017

when you click on 'Build with Gradle' for example, no thing happens where it should reveal the section (the accordion) that talks about building with gradle... right?

@dsyer
Copy link
Contributor

dsyer commented Sep 21, 2017

Works for me. Do you have any errors in the network (404 etc on scripts that didn't download)?

@dsyer
Copy link
Contributor

dsyer commented Sep 22, 2017

BTW I have the identical version of Chrome, so I would say either your network environment is different (more constrained), or you have Chrome extensions that break this for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants