dist/crocodoc.viewer.js
function buildEventObject(type, data) {
        var isDefaultPrevented = false;
        return {
            type: type,
            data: data,

            /**
             * Prevent the default action for this event
             * @returns {void}
             */
            preventDefault: function () {
                isDefaultPrevented = true;
            },

            /**
             * Return true if preventDefault() has been called on this event
             * @returns {Boolean}
             */
            isDefaultPrevented: function () {
                return isDefaultPrevented;
            }
        };
    }
function buildEventObject(type, data) {
        var isDefaultPrevented = false;
        return {
            type: type,
            data: data,

            /**
             * Prevent the default action for this event
             * @returns {void}
             */
            preventDefault: function () {
                isDefaultPrevented = true;
            },

            /**
             * Return true if preventDefault() has been called on this event
             * @returns {Boolean}
             */
            isDefaultPrevented: function () {
                return isDefaultPrevented;
            }
        };
    }
function buildEventObject ( type , data ) { var isDefaultPrevented = false ; return { type : type , data : data , /**
             * Prevent the default action for this event
             * @returns {void}
             */ preventDefault : function ( ) { isDefaultPrevented = true ; } , /**
             * Return true if preventDefault() has been called on this event
             * @returns {Boolean}
             */ isDefaultPrevented : function ( ) { return isDefaultPrevented ; } } ; }
Build an event object for the given type and data
@param   {string} type The event type
@param   {Object} data The event data
@returns {Object}      The event object
Build an event object for the given type and data