title: Dragging in Fabric.js
body: <p>I feel strange that I cannot find the actual dragging-handling code in Fabric.js's demo (for example, <a href="http://fabricjs.com/controls-customization/" rel="nofollow">this one)</a>, but the objects are already draggable "automatically", which is not my case. Here's my code in an external <code>test.js</code> file:</p>
  
  <pre><code>$(function(){
      var canvas = new fabric.Canvas('c');
      canvas.setWidth(window.innerWidth);
      canvas.setHeight(window.innerHeight);
      fabric.Image.fromURL('1.png', function(img) {
        var group = new fabric.Group([img],
          {
            hasBorders: false,
            hasControls: false,
            selectable: true,
            evented: true
          })
        canvas.add(group).setActiveObject(group);
      },
      {
          originX: 'left',
          originY: 'top'
      });
    canvas.renderAll();
  });
  </code></pre>
  
  <p>And here is the <code>test.html</code>:</p>
  
  <pre><code>&lt;!doctype html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
    &lt;meta charset="utf-8" /&gt;
    &lt;title&gt;test&lt;/title&gt;
    &lt;script type="text/javascript" src="http://code.jquery.com/jquery-2.0.3.min.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/fabric.js/1.3.0/fabric.min.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript" src="test.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;canvas id="c"&gt;&lt;/canvas&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Am I missing something? Thank you.</p>
  
  <p><strong>UPDATE</strong>: solved by using the newest fabricjs (1.3.12) in github.</p>