- Linting (ESLint): Lint per latest ash-nazg (e.g., named capture)
- Linting (ESLint): Add HTML files to linting and add devDeps for new ash-nazg - npm: Update devDeps
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
</div>
|
||||
|
||||
<script type="module">
|
||||
/* globals canvas */
|
||||
import SvgCanvas from '../editor/svgcanvas.js';
|
||||
|
||||
const container = document.querySelector('#editorContainer');
|
||||
@@ -39,7 +40,7 @@ const config = {
|
||||
initOpacity: 1,
|
||||
imgPath: 'editor/images/',
|
||||
dimensions: [width, height],
|
||||
baseUnit: 'px',
|
||||
baseUnit: 'px'
|
||||
};
|
||||
|
||||
window.canvas = new SvgCanvas(container, config);
|
||||
|
||||
Reference in New Issue
Block a user