Skip to content

Commit b2fb67a

Browse files
committed
docs: update documentation and examples
1 parent 43c533f commit b2fb67a

25 files changed

Lines changed: 730 additions & 665 deletions

File tree

.eslintrc.cjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ module.exports = {
2424
'__tests__',
2525
'scripts',
2626
'types',
27+
//
28+
'gui.min.js',
2729
],
2830
extends: [
2931
'eslint:recommended',

__tests__/unit/dom/document.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ describe('Document', () => {
7979

8080
// const image = canvas.document.createElement<Image, ImageStyleProps>(Shape.IMAGE, {
8181
// style: {
82-
// img: '',
82+
// src: '',
8383
// width: 50,
8484
// height: 50,
8585
// },

demo/2d-shape.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
@@ -117,7 +117,7 @@
117117
style: {
118118
width: 100,
119119
height: 100,
120-
img: 'https://gw.alipayobjects.com/mdn/rms_6ae20b/afts/img/A*N4ZMS7gHsUIAAAAAAAAAAABkARQnAQ',
120+
src: 'https://gw.alipayobjects.com/mdn/rms_6ae20b/afts/img/A*N4ZMS7gHsUIAAAAAAAAAAABkARQnAQ',
121121
cursor: 'pointer',
122122
},
123123
});

0 commit comments

Comments
 (0)