You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/app/components/Diff.tsx
-19Lines changed: 0 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,6 @@
80
80
// return newObj; // return the cleaned state snapshot(s)
81
81
// };
82
82
83
-
<<<<<<<HEAD
84
83
// const previousDisplay: StatelessCleaning = statelessCleaning(previous); // displays stateful data from the first snapshot that was taken before our current snapshot.
85
84
86
85
// const delta: StatelessCleaning = diff(previousDisplay, snapshot); // diff function from 'jsondiffpatch' returns the difference in state between 'previousDisplay' and 'snapshot'
@@ -90,24 +89,6 @@
90
89
// if (show)
91
90
// formatters.html.showUnchanged(); // shows unchanged values if we're on the '/diffRaw' path
// console.log('previousDisplay before stateless cleaning: ', previous);
95
-
constpreviousDisplay: StatelessCleaning=statelessCleaning(previous);// displays stateful data from the first snapshot that was taken before our current snapshot.
96
-
97
-
// console.log('previousDisplay after stateless cleaning: ', previousDisplay);
98
-
constdelta: StatelessCleaning=diff(previousDisplay,snapshot);// diff function from 'jsondiffpatch' returns the difference in state between 'previousDisplay' and 'snapshot'
99
-
100
-
// console.log('delta: ', delta);
101
-
consthtml: StatelessCleaning=formatters.html.format(delta,previousDisplay);// formatters function from 'jsondiffpatch' returns an html string that shows the difference between delta and the previousDisplay
102
-
103
-
// console.log('html: ', html);
104
-
105
-
console.log(show);
106
-
console.log(formatters.html.showUnchanged());
107
-
if(show)
108
-
formatters.html.showUnchanged();// shows unchanged values if we're on the '/diffRaw' path
Copy file name to clipboardExpand all lines: src/app/components/DiffRoute.tsx
-20Lines changed: 0 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,6 @@
7
7
// Loads the appropriate DiffRoute view and renders the 'Tree' and 'Raw' navbar buttons after clicking on the 'Diff' button located near the top rightmost corner.
8
8
// */
9
9
10
-
<<<<<<<HEAD
11
10
// // 'DiffRoute' only passed in prop is 'snapshot' from 'tabs[currentTab]' object in 'MainContainer'
0 commit comments