title: get Active Elements of canvas not working
body: <p>how can i get active Object or Active Group in below Example ?? i am using this . in this fiddle i am trying to create curved text whenever text-box value is changed . i need to get active object of canvas to apply size and all changes but active group or element not working . how can i do this ?</p>
  
  <p>Fiddle ::
  <a href="http://jsfiddle.net/NHs8t/8/" rel="nofollow">http://jsfiddle.net/NHs8t/8/</a></p>
  
  <p>Below snippts of fiffle::</p>
  
  <pre><code>        var act = canvas.getActiveGroup();
  
          var obj = canvas.getActiveObject();
       if(!obj)
       {
          console.log('object not Selected');
       }else
       {
          console.log('Object  selected');
       }
       if (!canvas.getActiveGroup()) 
       {
          console.log('if part executed--object not selected');
  
          curvedText[cur] = new CurvedText(canvas, {});
          curvedText[cur].center();
          curvedText[cur].setText($(this).val());
          cur++;
  
  
      } else {
          console.log('Else part executed-object selected');
          act.setText($(this).val());
  
      }
  </code></pre>