Skip to content

Commit f6eaf44

Browse files
committed
removed override reducer code and updated version number to 26
1 parent 5d933c4 commit f6eaf44

File tree

5 files changed

+3
-288
lines changed

5 files changed

+3
-288
lines changed

src/backend/types/backendTypes.ts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -252,23 +252,3 @@ export type Fiber = {
252252
export type FiberRoot = {
253253
current: Fiber;
254254
};
255-
256-
export interface Window {
257-
__REACTIME_TIME_TRAVEL__: {
258-
getReducerState: (reducerId: symbol) => any;
259-
travelToState: (reducerId: symbol, targetState: any) => void;
260-
};
261-
__REACTIME_REDUCER_MAP__: Map<
262-
symbol,
263-
{
264-
actionHistory: any[];
265-
dispatch: (action: any) => void;
266-
initialState: any;
267-
currentState: any;
268-
reducer: (state: any, action: any) => any;
269-
}
270-
>;
271-
__REACTIME_DEBUG__?: {
272-
checkOverride: () => void;
273-
};
274-
}

src/extension/build/manifest.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,14 @@
1313
"128": "assets/whiteBlackSquareIcon128.png"
1414
},
1515
"content_scripts": [
16-
{
17-
"matches": ["<all_urls>"],
18-
"js": ["bundles/overrideReducer.bundle.js"],
19-
"run_at": "document_start",
20-
"all_frames": true,
21-
"world": "MAIN"
22-
},
2316
{
2417
"matches": ["http://localhost/*"],
2518
"js": ["bundles/content.bundle.js"]
2619
}
2720
],
2821
"web_accessible_resources": [
2922
{
30-
"resources": ["bundles/backend.bundle.js", "bundles/overrideReducer.bundle.js"],
23+
"resources": ["bundles/backend.bundle.js"],
3124
"matches": ["<all_urls>"]
3225
}
3326
],

src/extension/build/panel.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
7-
<title style="color: #ffffff">Reactime 23.0</title>
7+
<title style="color: #ffffff">Reactime 26.0</title>
88
</head>
99

1010
<body>

src/extension/overrideReducer.js

Lines changed: 0 additions & 257 deletions
This file was deleted.

webpack.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ module.exports = {
1717
background: './src/extension/background.js',
1818
content: './src/extension/contentScript.ts',
1919
backend: './src/backend/index.ts',
20-
overrideReducer: './src/extension/overrideReducer.js',
2120
},
2221
watchOptions: {
2322
aggregateTimeout: 1000,

0 commit comments

Comments
 (0)