Skip to content
This repository was archived by the owner on Jan 2, 2021. It is now read-only.

Commit 7909547

Browse files
committed
Updated readme
1 parent 35a76f7 commit 7909547

4 files changed

Lines changed: 7 additions & 5 deletions

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,18 @@
2929
```
3030

3131
2. Install dependencies
32+
3233
```bash
3334
npm install
3435
```
3536

3637
3. Run
38+
3739
```bash
3840
npm run start
3941
```
40-
4. Deploy in github pages
42+
4. Deploy
43+
4144
```bash
4245
npm run deploy
4346
```

app/js/vendor/qrscan.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,12 @@ QRReader.init = function () {
4444
navigator.mediaDevices.enumerateDevices()
4545
.then(function (devices) {
4646
var device = devices.filter(function(device) {
47-
console.log(device.kind + " : " + device.label + " id = " + device.deviceId);
4847
var deviceLabel = device.label.split(',')[1];
4948
if (device.kind == "videoinput") {
5049
return device;
5150
}
5251
});
5352

54-
console.log("Found video device : ", device);
55-
5653
if (device.length > 1) {
5754
var constraints = {
5855
video: {

deploy.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
git commit -am "Saved local changes"
2+
git checkout -B gh-pages
13
git add -f dist
24
git commit -am "Deployed website"
35
git filter-branch -f --prune-empty --subdirectory-filter dist

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,4 +166,4 @@ gulp.task('watch', function () {
166166
OTHERS.once('update', log);
167167
});
168168

169-
gulp.task('default', ['clean', 'copy:html', 'copy:sass', 'copy:images', 'copy:js', 'browserify', 'copy:others', 'browserSync', 'watch']);
169+
gulp.task('default', ['clean', 'copy:html', 'copy:sass', 'copy:images', 'copy:js', 'browserify', 'copy:others', 'browserSync', 'watch']);

0 commit comments

Comments
 (0)