File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -246,26 +246,13 @@ chrome.runtime.onMessage.addListener((request, sender) => {
246
246
// gabi :: resolve no initial state
247
247
// tabsObj[tabId].hierarchy = null;
248
248
} else {
249
- // tabsObj[tabId].snapshots = null;
250
249
// gabi :: reset snapshots to page initial state
251
250
tabsObj [ tabId ] . snapshots . splice ( 1 ) ;
252
- // gabi :: resolve no initial state
253
- // tabsObj[tabId].snapshots = [{
254
- // state: {"@@INIT":"Inicial State" },
255
- // name: "nameless",
256
- // componentData: {},
257
- // children: [],
258
- // parent: null,
259
- // }]
260
251
// gabi :: reset hierarchy to page initial state
261
252
if ( tabsObj [ tabId ] . hierarchy ) {
262
253
tabsObj [ tabId ] . hierarchy . children = [ ] ;
263
- // gabi :: resolve no initial state
264
- // tabsObj[tabId].hierarchy = null;
265
254
// gabi :: reset currParent plus current state
266
255
tabsObj [ tabId ] . currParent = 1 ;
267
- // gabi :: resolve no initial state
268
- tabsObj [ tabId ] . currParent = 0 ;
269
256
} else {
270
257
// gabi :: reset currParent
271
258
tabsObj [ tabId ] . currParent = 0 ;
You can’t perform that action at this time.
0 commit comments