Skip to content

Commit

Permalink
fix: png image address upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
colin.ck committed Mar 13, 2018
1 parent 40cefa4 commit af4c34c
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 5 deletions.
Binary file modified .DS_Store
Binary file not shown.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -53,7 +53,7 @@ If you still don't get it, visit the [example](https://github.com/chenckang/reac

Lastly, if you succeed so far the preview will look like the below:

![previews, you can also find it in the example folder](http://imgs.co/u/16/07/18/VjeAR.png)
![previews, you can also find it in the example folder](https://github.com/chenckang/react-json-pretty/blob/master/example/preview.png?raw=true)

## Upgrade

Expand Down Expand Up @@ -99,9 +99,9 @@ Since the version 1.7.0, we add `themeClassName` property for adding custom them

Since the version 1.3.0, we have added more color themes to this package, including "Adventure Time", acai and 1337, to provide users more ready-made options.

![Adventure Time](https://go.imgs.co/u/2016/12/29/2DjoGR.png)
![1337](https://go.imgs.co/u/2016/12/29/24Wp3D.md.png)
![acai](https://go.imgs.co/u/2016/12/29/2Dji9i.md.png)
![Adventure Time](https://github.com/chenckang/react-json-pretty/blob/master/example/at.png?raw=true)
![1337](https://github.com/chenckang/react-json-pretty/blob/master/example/1337.png?raw=true)
![acai](https://github.com/chenckang/react-json-pretty/blob/master/example/acai.png?raw=true)

## Changelog

Expand Down
Binary file modified example/.DS_Store
Binary file not shown.
Binary file added example/1337.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added example/acai.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion example/app/Example.jsx
Expand Up @@ -26,6 +26,7 @@ obj.text = true;
obj.abc = false;
obj.number = 1234567890;

ReactDOM.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa = 'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb';
var obj3 = CircularJSON.stringify(ReactDOM);

ReactDOM.render(
Expand All @@ -51,7 +52,7 @@ ReactDOM.render(
<div>
<JSONPretty json={obj3}></JSONPretty>
<JSONPretty className="test-3" json={obj3}></JSONPretty>
<JSONPretty className="test-3 " themeClassName=" custom-json-pretty" json={obj3}></JSONPretty>
<JSONPretty className="test-3" themeClassName="custom-json-pretty" json={obj3}></JSONPretty>
</div>
</div>,
document.getElementById('example')
Expand Down
5 changes: 5 additions & 0 deletions example/assets/custom.styl
Expand Up @@ -2,6 +2,11 @@
background: #666
line-height 1.3
color #66d9ef
white-space pre-wrap; /* Since CSS 2.1 */
white-space -moz-pre-wrap; /* Mozilla, since 1999 */
white-space -pre-wrap; /* Opera 4-6 */
white-space -o-pre-wrap;
word-wrap break-word

.json-key
color #F92672
Expand Down
Binary file added example/at.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit af4c34c

Please sign in to comment.