includes/clientside/static/enano-lib-basic.js
changeset 1305 ba8a648baebc
parent 1231 4797a4a88533
child 1343 2a31905a567d
equal deleted inserted replaced
1304:0470b3176781 1305:ba8a648baebc
    55 
    55 
    56 var IE = checkIt('msie');
    56 var IE = checkIt('msie');
    57 var IE_8 = checkIt('msie 8.');
    57 var IE_8 = checkIt('msie 8.');
    58 var is_Opera = checkIt('opera');
    58 var is_Opera = checkIt('opera');
    59 var is_iPhone = checkIt('iphone') || checkIt('ipod');
    59 var is_iPhone = checkIt('iphone') || checkIt('ipod');
    60 var is_iPhone_3 = checkIt('iphone os 3_');
    60 var is_iPhone_3 = checkIt('iphone') && Number(navigator.userAgent.replace(/^.*iPhone OS ([0-9]+)_([0-9]+) .*$/, '$1.$2')) >= 3.0;
    61 var is_Webkit = checkIt('applewebkit');
    61 var is_Webkit = checkIt('applewebkit');
    62 var is_Gecko = checkIt('gecko');
    62 var is_Gecko = checkIt('gecko');
    63 var is_firefox2 = checkIt('firefox/2.');
    63 var is_firefox2 = checkIt('firefox/2.');
    64 
    64 
    65 var KILL_SWITCH = false;
    65 var KILL_SWITCH = false;