Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/counter/devTools.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ angular.module('counter')
);
//Hack to reflect state changes when disabling/enabling actions via the monitor
$ngRedux.subscribe(_ => {
setTimeout($rootScope.$apply, 100);
setTimeout($rootScope.$apply.bind($rootScope), 100);
});
});

Expand Down
1 change: 1 addition & 0 deletions examples/counter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"angular": "^1.4.4",
"ng-redux": "^2.0.0",
"redux": "^2.0.0",
"redux-devtools": "^2.1.0",
"redux-thunk": "^0.1.0"
}
}
2 changes: 1 addition & 1 deletion src/components/connector.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default function Connector(store) {

invariant(
_.isFunction(target) || _.isObject(target),
'The target parameter passed to connect must be a Function or a plain object.'
'The target parameter passed to connect must be a Function or a object.'
);

//Initial update
Expand Down