When I start CodeMirror with
var jsEditor = CodeMirror.fromTextArea(document.getElementById('js'),
{
lineNumbers: true,
mode: 'javascript',
theme: 'material',
height: 'auto',
viewportMargin: 'Infinity'
});
It defaults to 10 lines. I would like it to start with 2 lines