Skip to content

Expose a chai global for use in the console #125

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 1 commit into from
Apr 18, 2016
Merged

Expose a chai global for use in the console #125

merged 1 commit into from
Apr 18, 2016

Conversation

not-an-aardvark
Copy link
Contributor

This exposes the chai global on every page of the site, allowing people to test things in the dev console.

Being able to easily test a feature while reading its documentation can be very handy, and a few other documentation sites also expose globals for this purpose. (lodash.com exposes a _ global, bluebirdjs.com exposes a Promise global, etc.)

@keithamus
Copy link
Member

Great work 😄

@keithamus keithamus merged commit 29f6e11 into chaijs:master Apr 18, 2016
@not-an-aardvark not-an-aardvark deleted the expose-chai-global branch April 18, 2016 17:56
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