Skip to content

Commit c291ef0

Browse files
committed
updates for demoing the samples
1 parent 61162de commit c291ef0

30 files changed

+68
-24
lines changed

1.hello-world/1.minimum-code.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</head>
1717

1818
<body>
19-
<h1>Read Barcodes from a Camera</h1>
19+
<h1 style="font-size: 1.5em;">Read Barcodes from a Camera</h1>
2020
<button id="btn-show-scanner">Show Barcode Scanner</button>
2121
<script>
2222
/** LICENSE ALERT - README

1.hello-world/10.read-video-pwa/helloworld-pwa.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</head>
1313

1414
<body>
15-
<h1>Hello World for PWA</h1>
15+
<h1 style="font-size: 1.5em;">Hello World for PWA</h1>
1616
<button id='readBarcode'>Read Barcode via Camera</button>
1717
<script>
1818
/** LICENSE ALERT - README

1.hello-world/11.read-video-requirejs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</head>
1010

1111
<body>
12-
<h1>Hello World for RequireJS</h1>
12+
<h1 style="font-size: 1.5em;">Hello World for RequireJS</h1>
1313
<button id="readBarcode">show scanner</button>
1414
<script src="https://cdn.jsdelivr.net/npm/requirejs@2.3.6/require.js"></script>
1515
<script>

1.hello-world/12.read-video-webpack/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</head>
1010

1111
<body>
12-
<h1>Hello World - Webpack</h1>
12+
<h1 style="font-size: 1.5em;">Hello World - Webpack</h1>
1313
<button id="readBarcode">show scanner</button>
1414
<script src="./dist/bundle.js"></script>
1515
</body>

1.hello-world/2.read-an-image.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</head>
1717

1818
<body>
19-
<h1>Read Barcode from Images</h1>
19+
<h1 style="font-size: 1.5em;">Read Barcode from Images</h1>
2020
<input id="ipt-file" type="file" style="margin-bottom: 2vh;" accept="image/png,image/jpeg,image/bmp,image/gif">
2121
<input type="text" id="result" title="Double click to clear!" readonly="true" class="latest-result" placeholder="The Last Read Barcode">
2222
<div id="UIElement">

1.hello-world/3.read-video-angular/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,7 @@ testem.log
4444
# System Files
4545
.DS_Store
4646
Thumbs.db
47+
48+
# others
49+
50+
*.lock

1.hello-world/3.read-video-angular/src/app/hello-world/hello-world.component.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,7 @@
7272
height: 40vh;
7373
width: 80vw;
7474
}
75+
76+
h1 {
77+
font-size: 1.5em;
78+
}

1.hello-world/4.read-video-react/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@
2121
npm-debug.log*
2222
yarn-debug.log*
2323
yarn-error.log*
24+
25+
# others
26+
27+
*.lock

1.hello-world/4.read-video-react/src/components/HelloWorld.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
color: #455A64;
1010
}
1111

12+
h1 {
13+
font-size: 1.5em;
14+
}
15+
1216
button {
1317
font-size: 1.5rem;
1418
margin-bottom: 2vh;

1.hello-world/4.read-video-react/src/components/HelloWorld.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ class HelloWorld extends React.Component {
5454
return prevState;
5555
});
5656
break;
57-
default: break;
57+
default:
58+
break;
5859
}
5960
}
6061
showScanner = () => {
@@ -85,4 +86,4 @@ class HelloWorld extends React.Component {
8586
);
8687
}
8788
}
88-
export default HelloWorld;
89+
export default HelloWorld;

0 commit comments

Comments
 (0)