marijnh/CodeMirror2 — pull request #564 by njx (2012-06-05 23:23:26+00:00)
Title: Fix resize demo (and sample code) to work with new scrolling approach

Fixes one of the problems mentioned in this thread: https://groups.google.com/forum/?fromgroups#!topic/codemirror/cN_494YVlCw

The original resize.html demo had width: 100% set on the scroller, which doesn't work with the new scrolling code. Removing this doesn't seem to break the demo. Tested on Chrome/FF/Safari, IE 7/8/9.