Skip to content

Commit 7aca886

Browse files
add comments for rough logic flow sections
1 parent a622af6 commit 7aca886

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

src/scripts.js

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,28 @@ let rawStatePathRoutes = [
1818
'do-you-know-which-license-you-need/no/require-attribution/no/waive-your-copyright+waive+read/(attribution-details)&license=cc-0'
1919
];
2020

21+
// function to parse and build state.possibilities
2122

22-
// stepper logic here
23+
// function to track state.parts
24+
// [T]: should this be a part of state.current
25+
// as in: state.current.parts ?
26+
27+
// function to update and track state.current
28+
// this is a full combo of all set state.parts
29+
30+
// function to compare state.possibilities to state.current,
31+
// determine if valid license, or error
32+
33+
// function to set state.props
34+
// including setting state.props.license (if valid)
35+
36+
// stepper logic here for what parts are displayed,
37+
// if valid license from state.parts and/or state.current
38+
39+
// function to render license recommendation,
40+
// if valid license from state.parts and/or state.current
41+
42+
// function to render mark your work, from attribution fields
43+
// if valid license from state.parts and/or state.current
44+
45+
// function to handle error state

0 commit comments

Comments
 (0)