Skip to content

Commit 9d316d2

Browse files
committed
minor cleanup before major refactor for astParser.js
1 parent ab9120a commit 9d316d2

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

package/astParser.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ const JSXParser = acorn.Parser.extend(jsx());
55

66
const hookState = {};
77

8-
function getHookNames()
9-
108
module.exports = file => {
119
// Initialize empty object to store the setters and getter
1210
let ast = JSXParser.parse(file);

package/linkFiber.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,13 @@ module.exports = (snap, mode) => {
139139
window.addEventListener('message', ({ data: { action } }) => {
140140
if (action === 'contentScriptStarted') sendSnapshot();
141141
});
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+
// }
150150
};
151151
};

0 commit comments

Comments
 (0)