title: Uncaught TypeError: Cannot read property 'plugin' of undefined
body: <p>I'm using <code>Jeditable</code> plugin of <a href="http://www.appelsiini.net/2008/4/autogrow-textarea-for-jeditable" rel="nofollow noreferrer">Mika Tuupola</a> with autogrowing. I've followed his indications but the console shows this error:</p>
  
  <p><img src="https://i.stack.imgur.com/Y56o3.png" alt="enter image description here"></p>
  
  <p>I'm using Symfony2 with <code>fosjsroutingbundle</code>; this is the reason for use the variable of editable. This works fine.</p>
  
  <p>This is the JS code:</p>
  
  <pre><code> $('.editarContenido').editable(Routing.generate('criContenido_ajax.' + $('html').attr('lang'), { "_locale": $('html').attr('lang'), "pysStr": $('section').attr('pelicula') }),
          { 
              type      : "autogrow",
              submit    : 'OK',
              indicator : 'Saving...',
              tooltip   : 'Click to edit...',
              autogrow : {
                  lineHeight : 16,
                  maxHeight  : 512
              }
          });
  
          $.editable.addInputType('autogrow', {
              element : function(settings, original) {
                  var textarea = $('&lt;textarea&gt;');
                  if (settings.rows) {
                      textarea.attr('rows', settings.rows);
                  } else {
                      textarea.height(settings.height);
                  }
                  if (settings.cols) {
                      textarea.attr('cols', settings.cols);
                  } else {
                      textarea.width(settings.width);
                  }
                  $(this).append(textarea);
                  return(textarea);
              },
              plugin : function(settings, original) {
                  $('textarea', this).autogrow(settings.autogrow);
              }
          });
  </code></pre>
  
  <h1>EDIT</h1>
  
  <p><img src="https://i.stack.imgur.com/lNj6T.png" alt="enter image description here"></p>