Skip to content

Commit

Permalink
Merge pull request #75 from hackmushroom/master
Browse files Browse the repository at this point in the history
Fixed "TypeError: cyclic object value"
  • Loading branch information
oncesk committed Apr 1, 2016
2 parents fac1fac + e12bcac commit 33f5b68
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/js/client/client.template.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@
(scope.type == 'global' ? '' : ':' + scope.id)
);

owner.broadcast = false;
var self = this;
self.broadcast = false;

/**
*
Expand All @@ -139,9 +140,9 @@
'event' : event,
'scope' : scope,
'data' : data,
'broadcast' : owner.broadcast
'broadcast' : self.broadcast
});
owner.broadcast = false;
self.broadcast = false;
};

}
Expand Down

0 comments on commit 33f5b68

Please # to comment.