From d2e3c5a5b4da2de8b4d59b09815e571dcb72b7f8 Mon Sep 17 00:00:00 2001
From: mmcw-dev <hi@mmcwilliams.com>
Date: Wed, 27 Dec 2017 17:17:14 -0500
Subject: [PATCH] Update github page site to use rawgit.com cdn

---
 docs/index.html |  4 +++-
 src/bellows.js  | 34 ++++++++++++++++++----------------
 2 files changed, 21 insertions(+), 17 deletions(-)

diff --git a/docs/index.html b/docs/index.html
index 054f1c9..9feba61 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -108,7 +108,9 @@ input{
 	<button id="download" onclick="download();">Download</button>
 </div>
 <img id="img" />
-<script src="../src/bellows.js"> </script>
+<!--<script src="../src/bellows.js"> </script>-->
+<script src="https://rawgit.com/sixteenmillimeter/bellows/master/src/bellows.js">
+</script>
 <script>
 	'use script'
 	const $ = function (select) {
diff --git a/src/bellows.js b/src/bellows.js
index 92d1ae6..c7e3ce3 100644
--- a/src/bellows.js
+++ b/src/bellows.js
@@ -6,21 +6,6 @@
  * const bellows = require('bellows')
  */
 
- /**
-  * ### Install (node.js)
-  *
-  * First, install dependencies required by 
-  * [node-canvas](https://github.com/Automattic/node-canvas) by following 
-  * the [install instructions](https://github.com/Automattic/node-canvas#installation) 
-  * for your OS.
-  *
-  *```
-  * git clone https://github.com/sixteenmillimeter/bellows.git
-  * cd bellows
-  * npm install
-  *```
-  */
-
 const IN = 25.4
 const BLACK = '0,0,0,1.0'
 
@@ -391,4 +376,21 @@ function bellows (options = {}) {
 
 if (!browser) {
     module.exports = bellows
-}
\ No newline at end of file
+}
+
+ /**
+  * Try it out [in the browser](https://sixteenmillimeter.github.io/bellows/).
+  *
+  * ### Install (node.js)
+  *
+  * First, install dependencies required by 
+  * [node-canvas](https://github.com/Automattic/node-canvas) by following 
+  * the [install instructions](https://github.com/Automattic/node-canvas#installation) 
+  * for your OS.
+  *
+  *```
+  * git clone https://github.com/sixteenmillimeter/bellows.git
+  * cd bellows
+  * npm install
+  *```
+  */
\ No newline at end of file