Permalink
Browse files

Merge pull request #110 from Geeknux/master

a minor bug on 0.2.8
  • Loading branch information...
2 parents d0c4905 + 3c95208 commit b1e40082e237f95e74a653d4739d3d6786e5682b @1602 1602 committed Jan 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/controller.js
View
@@ -309,7 +309,7 @@ function Controller(name) {
var buffer = {};
this.publish = this.export = function (name, obj) {
- if (typeof name !== string && typeof obj.name === 'string') {
+ if (typeof name !== 'string' && typeof obj.name === 'string') {
obj = name;
name = obj.name;
}

0 comments on commit b1e4008

Please sign in to comment.