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

Function getFlashVersion

static/webuploader/webuploader.fis.js:7561–7577  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7559
7560
7561 function getFlashVersion() {
7562 var version;
7563
7564 try {
7565 version = navigator.plugins[ 'Shockwave Flash' ];
7566 version = version.description;
7567 } catch ( ex ) {
7568 try {
7569 version = new ActiveXObject('ShockwaveFlash.ShockwaveFlash')
7570 .GetVariable('$version');
7571 } catch ( ex2 ) {
7572 version = '0.0';
7573 }
7574 }
7575 version = version.match( /\d+/g );
7576 return parseFloat( version[ 0 ] + '.' + version[ 1 ], 10 );
7577 }
7578
7579 function FlashRuntime() {
7580 var pool = {},

Callers 1

webuploader.fis.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected