Update github page site to use rawgit.com cdn

This commit is contained in:
mmcw-dev 2017-12-27 17:17:14 -05:00
parent d106227166
commit d2e3c5a5b4
2 changed files with 21 additions and 17 deletions

View File

@ -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) {

View File

@ -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
}
}
/**
* 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
*```
*/