Skip to content

Commit

Permalink
chore: Remove arbitary comments from examples files
Browse files Browse the repository at this point in the history
  • Loading branch information
goooseman committed Apr 23, 2020
1 parent 0abc7c5 commit 4a7082c
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 27 deletions.
3 changes: 0 additions & 3 deletions examples/abilities-list.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
const { AbilitiesList, PortInfoList, GPhoto2Driver, checkCode } = require('@typedproject/gphoto2-driver');
// If you launch this example not from library folder, change the previous two lines to:
// const { checkCode } = require('@typedproject/gphoto2-driver/driver');
// const { AbilitiesList, PortInfoList, GPhoto2Driver } = require('@typedproject/gphoto2-driver');

const ref = require('ref');
const abilitiesList = new AbilitiesList();
Expand Down
2 changes: 0 additions & 2 deletions examples/camera-abilities.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
const { Camera, closeQuietly, GPPortType, GPCameraDriverStatus, GPCameraFileOperation, GPCameraFolderOperation, GPDeviceType } = require('@typedproject/gphoto2-driver');
// If you launch this example not from library folder, change the previous line to:
// const { Camera, closeQuietly, GPPortType, GPCameraDriverStatus, GPCameraFileOperation, GPCameraFolderOperation, GPDeviceType } = require('@typedproject/gphoto2-driver');
const camera = new Camera();

try {
Expand Down
2 changes: 0 additions & 2 deletions examples/camera-autoselect.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
const { Camera, closeQuietly } = require('@typedproject/gphoto2-driver');
// If you launch this example not from library folder, change the previous line to:
// const { Camera, closeQuietly } = require('@typedproject/gphoto2-driver');
const path = require('path');
const camera = new Camera();

Expand Down
2 changes: 0 additions & 2 deletions examples/camera-info.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
const SegfaultHandler = require('segfault-handler');
const path = require('path');
const { CameraList, closeQuietly } = require('@typedproject/gphoto2-driver');
// If you launch this example not from library folder, change the previous line to:
// const { CameraList, closeQuietly } = require('@typedproject/gphoto2-driver');

SegfaultHandler.registerHandler('crash.log');

Expand Down
2 changes: 0 additions & 2 deletions examples/camera-list-autodetect.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
const SegfaultHandler = require('segfault-handler');
const { CameraList, PortInfoList } = require('@typedproject/gphoto2-driver');
// If you launch this example not from library folder, change the previous line to:
// const { CameraList, PortInfoList } = require('@typedproject/gphoto2-driver');

SegfaultHandler.registerHandler('crash.log');

Expand Down
2 changes: 0 additions & 2 deletions examples/camera-list-populate.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
const SegfaultHandler = require('segfault-handler');
const { CameraList, PortInfoList } = require('@typedproject/gphoto2-driver');
// If you launch this example not from library folder, change the previous line to:
// const { CameraList, PortInfoList } = require('@typedproject/gphoto2-driver');

SegfaultHandler.registerHandler('crash.log');

Expand Down
2 changes: 0 additions & 2 deletions examples/camera-liveview-file.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// and then save it to .mjpg file. The file will be updated in live mode.

const { Camera } = require('@typedproject/gphoto2-driver');
// If you launch this example not from library folder, change the previous two lines to:
// const { Camera } = require('@typedproject/gphoto2-driver');
const path = require('path');
const camera = new Camera();

Expand Down
2 changes: 0 additions & 2 deletions examples/camera-liveview.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
// if you see a lot of ffd9 (not in the first column) - then it works

const { Camera } = require('@typedproject/gphoto2-driver');
// If you launch this example not from library folder, change the previous two lines to:
// const { Camera } = require('@typedproject/gphoto2-driver');
const camera = new Camera();

const NUMBER_OF_SECONDS_TO_LISTEN = 10;
Expand Down
2 changes: 0 additions & 2 deletions examples/camera-scenario-async.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
const { Camera, closeQuietly, CameraWidgets } = require('@typedproject/gphoto2-driver');
// If you launch this example not from library folder, change the previous line to:
// const { Camera, closeQuietly, CameraWidgets } = require('@typedproject/gphoto2-driver');

const path = require('path');

Expand Down
2 changes: 0 additions & 2 deletions examples/camera-scenario.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
const {Camera, closeQuietly, CameraWidgets} = require("@typedproject/gphoto2-driver");
// If you launch this example not from library folder, change the previous line to:
// const { Camera, closeQuietly, CameraWidgets } = require('@typedproject/gphoto2-driver');

const path = require("path");

Expand Down
2 changes: 0 additions & 2 deletions examples/camera.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
const SegfaultHandler = require('segfault-handler');
const path = require('path');
const { CameraList, closeQuietly } = require('@typedproject/gphoto2-driver');
// If you launch this example not from library folder, change the previous line to:
// const { CameraList, closeQuietly } = require('@typedproject/gphoto2-driver');

SegfaultHandler.registerHandler('crash.log');

Expand Down
2 changes: 0 additions & 2 deletions examples/port-list.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
const { PortInfoList } = require('@typedproject/gphoto2-driver');
// If you launch this example not from library folder, change the previous line to:
// const { PortInfoList } = require('@typedproject/gphoto2-driver');

const portList = new PortInfoList();

Expand Down
2 changes: 0 additions & 2 deletions examples/widgets.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
const fs = require('fs');
const { CameraList, CameraWidgets, closeQuietly } = require('@typedproject/gphoto2-driver');
// If you launch this example not from library folder, change the previous line to:
// const { CameraList, closeQuietly } = require('@typedproject/gphoto2-driver');

const cameraList = new CameraList().load();

Expand Down

0 comments on commit 4a7082c

Please sign in to comment.