sul-dlss/sul-embed — pull request #78 by jkeck (2014-10-15 05:17:57+00:00)
Title: [PROPOSAL] Handle flash of unstyled text.

Closes #49

Add CommonViewerBehavior jQuery module w/ a showViewer function called by both file and image viewers.

We add an explicit display: none to the container and then add a function (`CommonViewerBehavior.showViewer()`) to toggle the viewer on after we've appended the the stylesheet to the head of the document.