title: Codemirror fromTextArea error: options.value is undefined
body: <p>I actually have a completely different error related to hidden tabs but when I have come to create a simplified fiddle example I am getting this error:</p>
  
  <pre><code>Error: TypeError: options.value is undefined
  Source File: http://codemirror.net/lib/codemirror.js
  Line: 55
  </code></pre>
  
  <p>Example: <a href="http://jsfiddle.net/gWZeQ/" rel="nofollow">http://jsfiddle.net/gWZeQ/</a></p>
  
  <pre><code>var editor = CodeMirror.fromTextArea(document.getElementById("test1"));  
  
  &lt;texarea id="test1" name="test1"&gt;function test() { 
      return false;
  }&lt;/texarea&gt;
  </code></pre>