Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
Remove object.assign from selectors.js close #4267 (#4268)
Browse files Browse the repository at this point in the history
  • Loading branch information
maniator authored and jasonLaster committed Oct 5, 2017
1 parent b4642ce commit bf92b29
Showing 1 changed file with 19 additions and 22 deletions.
41 changes: 19 additions & 22 deletions src/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,22 @@ import isSelectedFrameVisible from "./selectors/isSelectedFrameVisible";
* @param object - location
*/

module.exports = Object.assign(
{},
expressions,
sources,
pause,
debuggee,
breakpoints,
pendingBreakpoints,
eventListeners,
ui,
ast,
coverage,
projectTextSearch,
sourceSearch,
sourceTree,
{
getBreakpointAtLocation,
getInScopeLines,
getVisibleBreakpoints,
isSelectedFrameVisible
}
);
module.exports = {
...expressions,
...sources,
...pause,
...debuggee,
...breakpoints,
...pendingBreakpoints,
...eventListeners,
...ui,
...ast,
...coverage,
...projectTextSearch,
...sourceSearch,
...sourceTree,
getBreakpointAtLocation,
getInScopeLines,
getVisibleBreakpoints,
isSelectedFrameVisible
};

0 comments on commit bf92b29

Please sign in to comment.