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

[Sidebar] View Source button error #321

Open
mdhtr opened this issue Apr 27, 2017 · 0 comments
Open

[Sidebar] View Source button error #321

mdhtr opened this issue Apr 27, 2017 · 0 comments

Comments

@mdhtr
Copy link

mdhtr commented Apr 27, 2017

Clicking the View Source button on the Sidebar/Definition page throws Uncaught TypeError: Cannot read property 'split' of undefined.

Uncaught TypeError: Cannot read property 'split' of undefined
    at Object.getIndent (docs.js:643)
    at Object.formatCode (docs.js:1011)
    at r.fn.init.initializeCode (docs.js:1081)
    at e (jquery.min.js:2)
    at HTMLElement.createCode (docs.js:805)
    at HTMLElement.dispatch (jquery.min.js:3)
    at HTMLElement.q.handle (jquery.min.js:3)
getIndent @ docs.js:643
formatCode @ docs.js:1011
initializeCode @ docs.js:1081
e @ jquery.min.js:2
createCode @ docs.js:805
dispatch @ jquery.min.js:3
q.handle @ jquery.min.js:3
2017-04-27 16:42:58.196 

What would be the desired usage of the View Source button here? The code is already shown. Should the View Source button be removed or should it be fixed?

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

1 participant