Skip to content

Commit 60c90b9

Browse files
committed
review comments
1 parent 9f6c0da commit 60c90b9

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

src/extension/background.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -237,29 +237,29 @@ chrome.runtime.onMessage.addListener((request, sender) => {
237237
// dont remove snapshots if persisting
238238
if (!persist) {
239239
if (empty) {
240-
// gabi :: reset snapshots to page initial state recorded when empted
240+
// resets snapshots to page initial state recorded when emptied
241241
tabsObj[tabId].snapshots = tabsObj[tabId].initialSnapshot;
242-
// gabi :: reset hierarchy to page initial state recorded when empted
242+
// resets hierarchy to page initial state recorded when emptied
243243
tabsObj[tabId].hierarchy = tabsObj[tabId].initialHierarchy;
244244
} else {
245-
// gabi :: reset snapshots to page initial state
245+
// resets snapshots to page initial state
246246
tabsObj[tabId].snapshots.splice(1);
247-
// gabi :: reset hierarchy to page initial state
247+
// checks if hierarchy before reset
248248
if (tabsObj[tabId].hierarchy) {
249-
// test
249+
// resets hierarchy to page initial state
250250
tabsObj[tabId].hierarchy.children = [];
251-
// gabi :: reset currParent plus current state
251+
// resets currParent plus current state
252252
tabsObj[tabId].currParent = 1;
253253
} else {
254-
// gabi :: reset currParent
254+
// resets currParent
255255
tabsObj[tabId].currParent = 0;
256256
}
257257
}
258-
// gabi :: reset currLocation to page initial state
258+
// resets currLocation to page initial state
259259
tabsObj[tabId].currLocation = tabsObj[tabId].hierarchy;
260-
// gabi :: reset index
260+
// resets index
261261
tabsObj[tabId].index = 0;
262-
// gabi :: reset currBranch
262+
// resets currBranch
263263
tabsObj[tabId].currBranch = 0;
264264

265265
// send a message to devtools

tests/manual-tests/CalculatorHooks/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ import "github-fork-ribbon-css/gh-fork-ribbon.css";
77

88
const rootContainer = document.getElementById('root');
99
ReactDOM.render(<App />, rootContainer);
10-
// gabi :: uncomment the line below to test Reactime 3.3 or older
10+
// uncomment the line below to test Reactime 3.3 or older
1111
// reactime(rootContainer);

0 commit comments

Comments
 (0)