mirror of
https://github.com/flozz/StackBlur.git
synced 2026-01-25 14:27:48 +00:00
- Fix: Duck type with image or canvas in place of `instanceof` check (and a broken one) - Enhancement: Add JSDoc comments - Linting (ESLint): Add ESLint with "standard" base - Linting (Markdown): Add `.remarkrc` - Linting (package.json): Add recommended properties - Linting (HTML): Add empty favicon to suppress console - License: Change MIT license file name to reflect license type (MIT) - Docs: Move changelog to own file: `CHANGES.md` - Demo: Move demo to own directory (with static server to avoid Chrome security problems reaching out of folder) - Demo: Move JS and CSS to separate files for easier linting/examination - Build: Move from Grunt to Rollup, supporting ES6 Modules distribution as well as UMD - Build: Add npm-recommended `package-lock.json` - npm: Add start, eslint, rollup, open-docs, docs scripts - npm: Add `module` for ES6 module discovery and switch `main` to point to `dist` - npm: Bump to 2.0.0
18 lines
534 B
HTML
18 lines
534 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>StackBlur Demo</title>
|
|
<link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon" />
|
|
<link rel="stylesheet" href="demo.css" />
|
|
<script type="module" src="demo.js"></script>
|
|
</head>
|
|
<body>
|
|
<h1>StackBlur Demo</h1>
|
|
<canvas id="canvas" width="200" height="200"></canvas>
|
|
<div>
|
|
<input type="range" min="0" max="50" value="0" id="slider" />
|
|
</div>
|
|
</body>
|
|
</html>
|