Update github page site to use rawgit.com cdn
This commit is contained in:
parent
d106227166
commit
d2e3c5a5b4
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
*```
|
||||
*/
|
Loading…
Reference in New Issue