Skip to content

Add False - #2802

Merged
RunDevelopment merged 2 commits into
PrismJS:masterfrom
edukisto:2801-add-false
Mar 13, 2021
Merged

RunDevelopment merged 2 commits into
PrismJS:masterfrom
edukisto:2801-add-false

Conversation

@edukisto

Copy link
Copy Markdown
Contributor

Resolves #2801.

@github-actions

github-actions Bot commented Mar 13, 2021 •

Copy link
Copy Markdown

JS File Size Changes (gzipped)

A total of 1 files have changed, with a combined diff of +260 B (+100.0%).

Details
file master pull size diff % diff
components/prism-false.min.js 0 Bytes 260 B +260 B +100.0%

Generated by 🚫 dangerJS against ad2b3d0

@RunDevelopment RunDevelopment left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you for the PR @edukisto!

2 minor nits and then it's gtg.

Comment thread components/prism-false.js Outdated
Comment thread components/prism-false.js Outdated

----------------------------------------------------

[

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This isn't a nit but a tip for the future:

This JSON looks like you formatted it yourself. With the command npm run test:languages -- --accept, the test suite will automatically insert the formatted actual token stream for you.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ah, I unreasonably forgot about --accept. I’ve never used the feature, because I write tests before I write regexes. I should and I will use it for “post-processing”.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thank you for reminding!

@edukisto
edukisto requested a review from RunDevelopment March 13, 2021 14:26
@RunDevelopment
RunDevelopment merged commit 99a21dc into PrismJS:master Mar 13, 2021
@RunDevelopment

Copy link
Copy Markdown
Member

Thank you for contributing!

@edukisto

Copy link
Copy Markdown
Contributor Author

Thank you, @RunDevelopment!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support False

2 participants