dist/crocodoc.viewer.js
function initPlugins() {
        var name,
            plugin,
            plugins = config.plugins || {};
        for (name in plugins) {
            plugin = scope.createComponent('plugin-' + name);
            if (plugin && util.isFn(plugin.init)) {
                plugin.init(config.plugins[name]);
            }
        }
    }
function initPlugins() {
        var name,
            plugin,
            plugins = config.plugins || {};
        for (name in plugins) {
            plugin = scope.createComponent('plugin-' + name);
            if (plugin && util.isFn(plugin.init)) {
                plugin.init(config.plugins[name]);
            }
        }
    }
function initPlugins ( ) { var name , plugin , plugins = config . plugins || { } ; for ( name in plugins ) { plugin = scope . createComponent ( 'plugin-' + name ) ; if ( plugin && util . isFn ( plugin . init ) ) { plugin . init ( config . plugins [ name ] ) ; } } }
Initialize all plugins specified for this viewer instance
@returns {void}
@private
Initialize all plugins specified for this viewer instance