Skip to content

Commit

Permalink
Remove object.assign from selectors.js close firefox-devtools#4267 (f…
Browse files Browse the repository at this point in the history
  • Loading branch information
maniator authored and amitzur committed Oct 5, 2017
1 parent 4bdc631 commit ae4d88c
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 ae4d88c

Please sign in to comment.