vendor/assets/elfinder_OLD/js/elfinder.full.js
function(ql) {
				var fm      = ql.fm,
			mime    = 'application/pdf',
			preview = ql.preview,
			active  = false;
			
		if ((fm.UA.Safari && fm.OS === 'mac' && !fm.UA.iOS) || fm.UA.IE) {
			active = true;
		} else {
			$.each(navigator.plugins, function(i, plugins) {
				$.each(plugins, function(i, plugin) {
					if (plugin.type === mime) {
						return !(active = true);
					}
				});
			});
		}

		active && preview.on(ql.evUpdate, function(e) {
			var file = e.file, node;
			
			if (file.mime === mime && ql.dispInlineRegex.test(file.mime)) {
				e.stopImmediatePropagation();
				ql.hideinfo();
				ql.cover.addClass('elfinder-quicklook-coverbg');
				node = $('<object class="elfinder-quicklook-preview-pdf" data="'+fm.openUrl(file.hash)+'" type="application/pdf" />')
					.appendTo(preview);
			}
			
		});
		
			
	}
function(ql) {
				var fm      = ql.fm,
			mime    = 'application/pdf',
			preview = ql.preview,
			active  = false;
			
		if ((fm.UA.Safari && fm.OS === 'mac' && !fm.UA.iOS) || fm.UA.IE) {
			active = true;
		} else {
			$.each(navigator.plugins, function(i, plugins) {
				$.each(plugins, function(i, plugin) {
					if (plugin.type === mime) {
						return !(active = true);
					}
				});
			});
		}

		active && preview.on(ql.evUpdate, function(e) {
			var file = e.file, node;
			
			if (file.mime === mime && ql.dispInlineRegex.test(file.mime)) {
				e.stopImmediatePropagation();
				ql.hideinfo();
				ql.cover.addClass('elfinder-quicklook-coverbg');
				node = $('<object class="elfinder-quicklook-preview-pdf" data="'+fm.openUrl(file.hash)+'" type="application/pdf" />')
					.appendTo(preview);
			}
			
		});
		
			
	}
function ( ql ) { var fm = ql . fm , mime = 'application/pdf' , preview = ql . preview , active = false ; if ( ( fm . UA . Safari && fm . OS === 'mac' && ! fm . UA . iOS ) || fm . UA . IE ) { active = true ; } else { $ . each ( navigator . plugins , function ( i , plugins ) { $ . each ( plugins , function ( i , plugin ) { if ( plugin . type === mime ) { return ! ( active = true ) ; } } ) ; } ) ; } active && preview . on ( ql . evUpdate , function ( e ) { var file = e . file , node ; if ( file . mime === mime && ql . dispInlineRegex . test ( file . mime ) ) { e . stopImmediatePropagation ( ) ; ql . hideinfo ( ) ; ql . cover . addClass ( 'elfinder-quicklook-coverbg' ) ; node = $ ( '<object class="elfinder-quicklook-preview-pdf" data="' + fm . openUrl ( file . hash ) + '" type="application/pdf" />' ) . appendTo ( preview ) ; } } ) ; }
PDF preview plugin

@param elFinder.commands.quicklook
PDF preview plugin