Skip to content

Commit

Permalink
Doc: Update site link
Browse files Browse the repository at this point in the history
  • Loading branch information
surunzi committed Mar 27, 2017
1 parent ec8b5be commit a45a0f2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a href="http://liriliri.github.io/eruda/" target="_blank">
<a href="http://eruda.liriliri.io/" target="_blank">
<img src="http://7xn2zy.com1.z0.glb.clouddn.com/github_eruda2.jpg">
</a>

Expand Down Expand Up @@ -29,14 +29,14 @@ is a similar one on mobile side, which leads to the creation of Eruda.

## Demo

![Demo](http://7xn2zy.com1.z0.glb.clouddn.com/eruda_qrcode2.png)
![Demo](http://7xn2zy.com1.z0.glb.clouddn.com/eruda_qrcode3.png)

Browse it on your phone: [http://liriliri.github.io/eruda/](http://liriliri.github.io/eruda/)
Browse it on your phone: [http://eruda.liriliri.io/](http://eruda.liriliri.io/)

In order to try it for different sites, execute the script below on browser address bar.

```javascript
javascript:(function () { var script = document.createElement('script'); script.src="//liriliri.github.io/eruda/eruda.min.js"; document.body.appendChild(script); script.onload = function () { eruda.init() } })();
javascript:(function () { var script = document.createElement('script'); script.src="http://eruda.liriliri.io/eruda.min.js"; document.body.appendChild(script); script.onload = function () { eruda.init() } })();
```

## Features
Expand Down Expand Up @@ -68,7 +68,7 @@ Add this script to your page.
It's also available on [jsDelivr](http://www.jsdelivr.com/projects/eruda) and [cdnjs](https://cdnjs.com/libraries/eruda).

```html
<script src="//cdn.jsdelivr.net/eruda/1.2.0/eruda.min.js"></script>
<script src="//cdn.jsdelivr.net/eruda/1.2.2/eruda.min.js"></script>
<script>eruda.init();</script>
```

Expand Down
6 changes: 3 additions & 3 deletions doc/README_CH.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a href="http://liriliri.github.io/eruda/" target="_blank">
<a href="http://eruda.liriliri.io/" target="_blank">
<img src="http://7xn2zy.com1.z0.glb.clouddn.com/github_eruda2.jpg">
</a>

Expand Down Expand Up @@ -84,10 +84,10 @@ eruda.init({

![Demo](http://7xn2zy.com1.z0.glb.clouddn.com/eruda_qrcode2.png)

请扫描二维码或在手机上直接访问:[http://liriliri.github.io/eruda/](http://liriliri.github.io/eruda/)
请扫描二维码或在手机上直接访问:[http://eruda.liriliri.io/](http://eruda.liriliri.io/)

如果想在其它页面尝试,请在浏览器地址栏上输入以下代码。

```javascript
javascript:(function () { var script = document.createElement('script'); script.src="//liriliri.github.io/eruda/eruda.min.js"; document.body.appendChild(script); script.onload = function () { eruda.init() } })();
javascript:(function () { var script = document.createElement('script'); script.src="http://eruda.liriliri.io/eruda.min.js"; document.body.appendChild(script); script.onload = function () { eruda.init() } })();
```

0 comments on commit a45a0f2

Please sign in to comment.