Skip to content

Allow JSON to handle comments #2155

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

Merged
merged 4 commits into from
Oct 6, 2019

Conversation

joshgoebel
Copy link
Member

No description provided.

- this providers nicer output when errors are raised
- ie, you can actually read the diffs generated
@joshgoebel
Copy link
Member Author

Github calls this "jsonc" in one place but I'm not sure if that is actually a real "thing" or not. If we want I can add it as an alias, but I didn't so far.

@@ -26,7 +26,7 @@ function testLanguage(language) {

actual.trim().should.equal(expected.trim());
done();
});
}).catch(function(err) { return done(err) });
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wonderful (:

Copy link
Collaborator

@egor-rogov egor-rogov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Github calls this "jsonc" in one place but I'm not sure if that is actually a real "thing" or not. If we want I can add it as an alias, but I didn't so far.

I'm not sure either. We can add an alias after if someone asks for it.

@joshgoebel
Copy link
Member Author

Awesomeness.

@egor-rogov egor-rogov merged commit b6ff7cb into highlightjs:master Oct 6, 2019
@egor-rogov
Copy link
Collaborator

Thanks, merged!

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.

2 participants