Closed Bug 1425536 Opened 6 years ago Closed 6 years ago

Create dummy jsterm action and reducer file in Console

Categories

(DevTools :: Console, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: nchevobbe, Unassigned)

References

Details

This should be only about adding two dummiy jsterm.js file, one in actions/ and reducers/

The action file can be : 
```
module.exports = {};
```

And should be added in https://searchfox.org/mozilla-central/rev/110706c3c09d457dc70293b213d7bccb4f6f5643/devtools/client/webconsole/new-console-output/actions/index.js#9-13.

---

And the reducer can be simply : 

```
function jsterm(state = {}, action) {
  return state;
}

module.exports = { jsterm };
```
and then be used in https://searchfox.org/mozilla-central/rev/110706c3c09d457dc70293b213d7bccb4f6f5643/devtools/client/webconsole/new-console-output/reducers/index.js .
Product: Firefox → DevTools
A real reducer will be added as part of Bug 1463128
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.