added polling to check for DOM paint completion
increased interval to very conservative value; not an ironclad fix but should work in most cases
use css keyframe animation to detect paint completion - not supported in IE9 but wanted a copy of the code in repo for future reference
eliminated need to wait for repaint on initial display
Removed semi-colon and duplicate sans-serif instance
minimized dependency on CSS layout delay
render text and markdown in filepreview
more reliable detection of layout completion
sanitize text files before embedding them
Merge pull request #3289 from Coenego/issue-3289

Invalid CSS in oae.base.css
code style fixes, simplified css
Merge pull request #3291 from stuartf/markdown

render text and markdown in filepreview
Merge remote-tracking branch 'stephen/docpreview' into docpreview
Included test document
set width of zoomed pages to avoid excess horizontal scrolling; apply styles via CSS rather than JavaScript
grunt provides all the things we're using shelljs for
Merge remote-tracking branch 'stephen/docpreview' into docpreview
removed test document
Merge remote-tracking branch 'stephen/docpreview' into docpreview
Fix spacing in documentviewer.html, add nl_NL translations to the document viewer, close div tag