File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,6 @@ const JSXParser = acorn.Parser.extend(jsx());
5
5
6
6
const hookState = { } ;
7
7
8
- function getHookNames ( )
9
-
10
8
module . exports = file => {
11
9
// Initialize empty object to store the setters and getter
12
10
let ast = JSXParser . parse ( file ) ;
Original file line number Diff line number Diff line change @@ -139,13 +139,13 @@ module.exports = (snap, mode) => {
139
139
window . addEventListener ( 'message' , ( { data : { action } } ) => {
140
140
if ( action === 'contentScriptStarted' ) sendSnapshot ( ) ;
141
141
} ) ;
142
- //
143
- if ( astHooks ) {
144
- function consoleLoggerTest ( someString ) {
145
- return someString ;
146
- }
147
- const testFunction = consoleLoggerTest ( 'Hello from reactime' ) ;
148
- return testFunction ;
149
- }
142
+ // Testing sending back a function def to client
143
+ // if (astHooks) {
144
+ // function consoleLoggerTest(someString) {
145
+ // return someString;
146
+ // }
147
+ // const testFunction = consoleLoggerTest('Hello from reactime');
148
+ // return testFunction;
149
+ // }
150
150
} ;
151
151
} ;
You can’t perform that action at this time.
0 commit comments