[JobQueue] Added missing delete query.
[mediawiki.git] / resources / startup.js
blobdeff7e6eff78451e553dc9932a7be04105367160
1 /**
2 * This script provides a function which is run to evaluate whether or not to
3 * continue loading the jquery and mediawiki modules. This code should work on
4 * even the most ancient of browsers, so be very careful when editing.
5 */
7 /**
8 * Returns false when run in a black-listed browser
10 * This function will be deleted after it's used, so do not expand it to be
11 * generally useful beyond startup.
13 * MediaWiki & jQuery compatibility:
14 * - Internet Explorer 6.0+
15 * - Firefox 10+
16 * - Safari 5.0+
17 * - Opera 11+
18 * - Chrome
21 /*jshint unused: false */
22 function isCompatible() {
23 // IE < 6.0
24 if ( navigator.appVersion.indexOf( 'MSIE' ) !== -1
25 && parseFloat( navigator.appVersion.split( 'MSIE' )[1] ) < 6 )
27 return false;
29 return true;
32 /**
33 * The startUp() function will be auto-generated and added below.