dist/crocodoc.viewer.js
function (el) {
            if (!subpixelRenderingIsSupported) {
                if (document.body.style.zoom !== undefined) {
                    var $wrap = $('<div>').addClass(CSS_CLASS_SUBPX_FIX);
                    $(el).wrap($wrap);
                }
            }
            return el;
        }
function (el) {
            if (!subpixelRenderingIsSupported) {
                if (document.body.style.zoom !== undefined) {
                    var $wrap = $('<div>').addClass(CSS_CLASS_SUBPX_FIX);
                    $(el).wrap($wrap);
                }
            }
            return el;
        }
function ( el ) { if ( ! subpixelRenderingIsSupported ) { if ( document . body . style . zoom !== undefined ) { var $wrap = $ ( '<div>' ) . addClass ( CSS_CLASS_SUBPX_FIX ) ; $ ( el ) . wrap ( $wrap ) ; } } return el ; }
Apply the subpixel rendering fix to the given element if necessary.
@NOTE: Fix is only applied if the "zoom" CSS property exists
(ie., this fix is never applied in Firefox)
@param   {Element} el The element
@returns {Element} The element
Apply the subpixel rendering fix to the given element if necessary .