-
Notifications
You must be signed in to change notification settings - Fork 61
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
fix: doc typo #198
base: master
Are you sure you want to change the base?
fix: doc typo #198
Conversation
issues #125
Codecov Report
@@ Coverage Diff @@
## master #198 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 30 30
Lines 121 121
Branches 31 31
=====================================
Hits 121 121 Continue to review full report at Codecov.
|
@@ -130,7 +130,7 @@ The official recommendation for running `common-tags` is as follows: | |||
|
|||
- [Node.js](https://nodejs.org/en/download/) v5.0.0 or higher | |||
- In order to use `common-tags`, your environment will also need to support ES2015 tagged templates ([pssst… check Babel out](http://babeljs.io)) | |||
- You might also want to [polyfill some features](https://github.com/zloirock/core-js) if you plan on supporting older browsers: `Array.prototype.includes` | |||
- You might also want to [polyfill some features](https://github.com/zloirock/core-js) if you plan on supporting older browsers: `String.prototype.includes` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you include both? As in
- You might also want to [polyfill some features](https://github.com/zloirock/core-js) if you plan on supporting older browsers: `String.prototype.includes` | |
- You might also want to [polyfill some features](https://github.com/zloirock/core-js) if you plan on supporting older browsers: `Array.prototype.includes`, `String.prototype.includes` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The string one is used in splitStringTransformer
, and the array one is used eg. in trimResultTransformer
issues #125