Skip to content

Commit 87b810a

Browse files
committed
fix(githubPage): updating github page build in travis
1 parent efa2fa4 commit 87b810a

File tree

3 files changed

+18
-10
lines changed

3 files changed

+18
-10
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)
44
[![npm download][download-image]][download-url]
55
[![Build Status](https://travis-ci.org/wwayne/react-tooltip.svg?branch=master)](https://travis-ci.org/wwayne/react-tooltip)
6+
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
67

78
[download-image]: https://img.shields.io/npm/dm/react-tooltip.svg?style=flat-square
89
[download-url]: https://npmjs.org/package/react-tooltip
@@ -11,6 +12,8 @@
1112

1213
[![Edit ReactTooltip](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/heuristic-curran-bddeu?fontsize=14&hidenavigation=1&theme=dark)
1314

15+
Or see it on [Github Page](https://wwayne.github.io/react-tooltip/).
16+
1417
## Maintainers
1518

1619
[aronhelser](https://github.com/aronhelser) Passive maintainer - accepting PRs and doing minor testing, but not fixing issues or doing active development.

example/src/App.js

+14-10
Original file line numberDiff line numberDiff line change
@@ -652,15 +652,16 @@ export default class App extends Component {
652652
<p>{"<a data-for='soclose' data-tip='8'>8 (❂‿❂)</a>"}</p>
653653
<p>
654654
{"<ReactTooltip id='soclose'\n" +
655-
" getContent={(dataTip) => \n" +
655+
" getContent={(dataTip) => \n" +
656656
" <div><h3>This little buddy is {dataTip}</h3><p>Put mouse here</p></div> }\n" +
657-
" effect='solid'\n" +
658-
" delayHide={500}\n" +
659-
" delayShow={500}\n" +
660-
" delayUpdate={500}\n" +
661-
" place={'right'}\n" +
662-
" border={true}\n" +
663-
" type={'light'}"}
657+
" effect='solid'\n" +
658+
" delayHide={500}\n" +
659+
" delayShow={500}\n" +
660+
" delayUpdate={500}\n" +
661+
" place={'right'}\n" +
662+
" border={true}\n" +
663+
" type={'light'}\n" +
664+
"/>"}
664665
</p>
665666
</div>
666667
</pre>
@@ -760,8 +761,11 @@ export default class App extends Component {
760761
<div>
761762
<p>
762763
{"<a data-tip data-for='overridePosition'>( •̀д•́) override</a>\n" +
763-
"<ReactTooltip id='overridePosition' overridePosition={ ({ left, top },\n" +
764-
" currentEvent, currentTarget, node) => {\n" +
764+
"<ReactTooltip\n" +
765+
" id='overridePosition'\n" +
766+
" overridePosition={ (\n" +
767+
" { left, top },\n" +
768+
" currentEvent, currentTarget, node) => {\n" +
765769
" const d = document.documentElement;\n" +
766770
" left = Math.min(d.clientWidth - node.clientWidth, left);\n" +
767771
" top = Math.min(d.clientHeight - node.clientHeight, top);\n" +

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"path": "node_modules/cz-conventional-changelog"
2727
}
2828
},
29+
"publishConfig": { "registry": "https://npm.pkg.github.com/" },
2930
"standard": {
3031
"parser": "babel-eslint",
3132
"ignore": [

0 commit comments

Comments
 (0)