dist/crocodoc.viewer.js
function (el, links) {
            $el = $(el);
            this.createLinks(links);
            if (!browser.ie) {
                // @NOTE: event handlers are individually bound in IE, because
                // the ctrl+click workaround fails when using event delegation
                $el.on('click', '.' + CSS_CLASS_PAGE_LINK, handleClick);
            }
        }
function (el, links) {
            $el = $(el);
            this.createLinks(links);
            if (!browser.ie) {
                // @NOTE: event handlers are individually bound in IE, because
                // the ctrl+click workaround fails when using event delegation
                $el.on('click', '.' + CSS_CLASS_PAGE_LINK, handleClick);
            }
        }
function ( el , links ) { $el = $ ( el ) ; this . createLinks ( links ) ; if ( ! browser . ie ) { // @NOTE: event handlers are individually bound in IE, because // the ctrl+click workaround fails when using event delegation $el . on ( 'click' , '.' + CSS_CLASS_PAGE_LINK , handleClick ) ; } }
Initialize the page-links component
@param  {Array} links Links configuration array
@returns {void}
@TODO (possible): make a links data-provider instead of passing
them in as an argument?
Initialize the page - links component