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

suspect CSS syntax change #176

Open
mesco64 opened this issue Jan 23, 2019 · 0 comments
Open

suspect CSS syntax change #176

mesco64 opened this issue Jan 23, 2019 · 0 comments

Comments

@mesco64
Copy link

mesco64 commented Jan 23, 2019

I've found that using Chrome a simple demo page (showing the house model) didn't visualize anything. Blank canvas. Inspecting console errors I've found messages about unexpected < token at line 7 in several .js files. I suppose that it's an issue caused by a recent CSS syntax revision, but really haven't any idea.

The problem seems to be in the CSS class pre-code definition, spread throughout the source files, that looks like:

pre.code
{
	display: inline;
//	padding: 8px;
//	border: 1px dashed #ccc; 
	background-color: #4AA02C;
}

My Netbeans IDE detected a syntax error in sources, so as it suggested I changed this definition in every .js file to make it look like this:

pre.code
{
	display: inline;
/*	padding: 8px;
	border: 1px dashed #ccc; */
	background-color: #4AA02C;
}

Everything worked fine, now the model is shown (and manipulated) as expected.
The bug propagates from the default.css template in /doc_generator/templates/jsdoc/static

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