MCPcopy Create free account
hub / github.com/TruthHun/BookStack / getFlashVersion

Function getFlashVersion

static/webuploader/webuploader.js:7586–7602  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7584
7585
7586 function getFlashVersion() {
7587 var version;
7588
7589 try {
7590 version = navigator.plugins[ 'Shockwave Flash' ];
7591 version = version.description;
7592 } catch ( ex ) {
7593 try {
7594 version = new ActiveXObject('ShockwaveFlash.ShockwaveFlash')
7595 .GetVariable('$version');
7596 } catch ( ex2 ) {
7597 version = '0.0';
7598 }
7599 }
7600 version = version.match( /\d+/g );
7601 return parseFloat( version[ 0 ] + '.' + version[ 1 ], 10 );
7602 }
7603
7604 function FlashRuntime() {
7605 var pool = {},

Callers 1

webuploader.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected