Skip to content

Commit ef14b81

Browse files
authored
Feature Class-based implementation of the program (#7)
Feature `Class-based` implementation of the program
2 parents a9ac01a + 5aed504 commit ef14b81

File tree

7 files changed

+273
-287
lines changed

7 files changed

+273
-287
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ node_modules/
22

33
/out/
44
/src/urlList.js
5+
/src/urlList.class.js
56

67
.gitlog
78

index.class.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { existsSync, copyFileSync } from 'fs'
2+
import ThesisLighthouse from './src/lib/application.class.js'
3+
if (!existsSync('./src/urlList.class.js')) copyFileSync('./src/urlList.class.example', './src/urlList.class.js')
4+
import Config from "./src/urlList.class.js"
5+
6+
const app = new ThesisLighthouse(Config)

0 commit comments

Comments
 (0)