-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtodo.txt
More file actions
36 lines (27 loc) · 681 Bytes
/
todo.txt
File metadata and controls
36 lines (27 loc) · 681 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
? command lines setup
? read files
? create files with command line
? setup package.json
? complete typescript files
? set up basic express server
? setup controllers
? setup core.js
?
# peerDependenices
# normalising ports
# setup testing
# setup travis
# setup model
controller
model
view
load(_route: string, ControllerReference: any) {
let props = new Set()
let currentObj = ControllerReference
do {
Object.getOwnPropertyNames(currentObj).map(item => props.add(item))
} while ((currentObj = Object.getPrototypeOf(currentObj)))
return [...props.keys()].filter(
(item: any) => typeof ControllerReference[item] === 'function'
)
}