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

Bug fix for: Cannot assign to read only property 'name' of function #1

Open
wants to merge 41 commits into
base: master
Choose a base branch
from
Open

Conversation

jrauschenbusch
Copy link

teodragovic and others added 30 commits January 11, 2014 15:19
Option to override default validator server
Fix error of undefined file. Force return when no more files to check.
praveenvijayan and others added 11 commits May 15, 2014 13:46
Hello when i tried this grunt task i have this error blocking me :
Fatal error: Cannot read property 'prompt' of undefined
I had to patch out the script in order to have execution. 
After the patch i have outputs like this :
1=> "& did not start a character reference. (& probably should have been escaped as &.)" Line no: undefined
(the typo was on the title tag in the html)
I don't know why this happened or if this patch could be useful to you but anyway i report it to you.
Thanks for your code.
Better patch of the "bug". To reproduce it put a jekyll like page in a html page, (exemple file begin with a '-' character). The task fail with 'prompt undefined', with the patch the output change to :
Validation started for.. web/jekyll.html
1=> "character \"-\" not allowed in prolog" Line no: 1
2=> "end of document in prolog" Line no: 5
No of errors: 2
fix single quote & undefined
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

Successfully merging this pull request may close these issues.

Loading "html_validation.js" tasks...ERROR and exit....
8 participants