title: Getting "Too much recursion" error in fabric js
body: <p>I am getting "too much recursion" error when I click on object on fabric js</p>
  
  <p>I have added below code in Mouse down event but noting logged in console.</p>
  
  <p>I have used Coffee script.</p>
  
  <p><strong>Coffee script</strong></p>
  
  <pre><code>@listenTo @canvas, "mouse:up", (o) -&gt; @isDown = false;
  @listenTo @canvas, "mouse:down", (o) -&gt; console.log o; @isDown = true;
  </code></pre>
  
  <p><strong>Compiled Coffee script</strong></p>
  
  <pre><code>this.listenTo(this.canvas, "mouse:up", function(o) {
      return this.isDown = false;
  });
  this.listenTo(this.canvas, "mouse:down", function(o) {
      console.log(o);
      return this.isDown = true;
  });
  </code></pre>
  
  <p>I have not used Clone Method ant where in script.</p>
  
  <p>I have checked same script on my localhost it is working fine. but when i am uploading on server then it is not working. </p>
  
  <p><strong>Screenshot of Firefox.</strong></p>
  
  <p><a href="https://i.stack.imgur.com/8BvKx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8BvKx.png" alt="enter image description here"></a></p>
  
  <p><strong>Screenshot of Chrome.</strong></p>
  
  <p><a href="https://i.stack.imgur.com/P7GIg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/P7GIg.png" alt="enter image description here"></a></p>