Skip to content

Commit

Permalink
Fixed "TypeError: cyclic object value"
Browse files Browse the repository at this point in the history
  • Loading branch information
hackmushroom authored and adam-schoolstickers committed Apr 1, 2016
1 parent 8856a93 commit e12bcac
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 e12bcac

Please # to comment.