Skip to content

Commit

Permalink
Fix #4 and bump to major version due to MultipleMonitors removal
Browse files Browse the repository at this point in the history
  • Loading branch information
YoruNoHikage committed Feb 28, 2016
1 parent 603b174 commit 8815d2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "redux-devtools-dispatch",
"version": "1.0.0",
"version": "2.0.1",
"description": "Dispatch your actions manually to test if your app reacts well",
"main": "lib/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/Dispatcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export default class Dispatcher extends Component {
if(object.hasOwnProperty(propertyName)) {
if(typeof prop === "function") {
functions.push({
name: namespace + (prop.name || 'anonymous'),
name: namespace + (propertyName || prop.name || 'anonymous'),
func: prop,
args: getParams(prop),
});
Expand Down

0 comments on commit 8815d2c

Please sign in to comment.