Skip to content

Commit

Permalink
Support for Webpack module loader
Browse files Browse the repository at this point in the history
  • Loading branch information
kristfal authored and tur-nr committed Aug 14, 2017
1 parent de9e18c commit 210041d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.1",
"description": "Polymer bindings for Redux.",
"main": "lib/polymer-redux.js",
"module": "src/index.js",
"jsnext:main": "src/index.js",
"scripts": {
"build": "gulp",
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export default function PolymerRedux(store) {
const collect = (what, which) => {
let res = {};
while (what) {
res = {...what[which], ...res}; // Respect prototype priority
res = Object.assign({}, what[which], res); // Respect prototype priority
what = Object.getPrototypeOf(what);
}
return res;
Expand Down

0 comments on commit 210041d

Please sign in to comment.