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
minimized dependency on CSS layout delay
more reliable detection of layout completion
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
use latest version of the `grunt-casperjs` module
fix long markdown lines popping out of the container
visual tweaks
Catch 419 responses and trigger the terms and conditions widget
Fix for [Issue 3270](https://github.com/oaeproject/3akai-ux/issues/3270)
changed soft tabs from 2 spaces to 4 spaces