Permalink
Browse files

Use CNAME in URLs

  • Loading branch information...
Daniel15 committed Apr 25, 2016
1 parent 4adebdf commit c5ddc46f3570cddfbf98926e3fffc8f5ea9171c5
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.md
@@ -31,7 +31,7 @@ To use React-Magic, add a `<script>` tag to the bottom of your page, right above
the `</body>`:
```html
<script src="http://reactjs.github.io/react-magic/magic-loader.js"></script>
<script src="http://magic.reactjs.net/magic-loader.js"></script>
```
This handles loading all the required scripts. Alternatively, you can put all
@@ -40,7 +40,7 @@ the required scripts instead:
```html
<script src="http://fb.me/react-0.13.3.min.js"></script>
<script src="http://fb.me/JSXTransformer-0.13.3.js"></script>
<script src="http://reactjs.github.io/react-magic/magic.min.js"></script>
<script src="http://magic.reactjs.net/magic.min.js"></script>
```
The end result is the same.
@@ -49,7 +49,7 @@ A fun party trick is adding a bookmarklet to your browser which can be used to
Reactify *any* plain HTML site. Click it and mystify your friends:
```javascript
javascript:(function(b){function c(){if(0!==d.length){var e=d.shift(),a=b.createElement("script");a.src=e;a.onload=c;b.body.appendChild(a)}}var d=["http://fb.me/react-0.13.3.min.js","http://fb.me/JSXTransformer-0.13.3.js","http://reactjs.github.io/react-magic/magic.min.js"];c();return!1})(document);
javascript:(function(b){function c(){if(0!==d.length){var e=d.shift(),a=b.createElement("script");a.src=e;a.onload=c;b.body.appendChild(a)}}var d=["http://fb.me/react-0.13.3.min.js","http://fb.me/JSXTransformer-0.13.3.js","http://magic.reactjs.net/magic.min.js"];c();return!1})(document);
```
This just loads the same scripts as referenced above.

0 comments on commit c5ddc46

Please sign in to comment.