Skip to content
Extraits de code Groupes Projets
  • Matthieu Aubry's avatar
    d5b7c848
    JS Tracker: prevent IE 7 error (#11668) · d5b7c848
    Matthieu Aubry a rédigé
    * Use typeof(console) to prevent IE 7 error
    
    When using directly console !== undefined, older IE versions
    throw an error as they're actually tring to access an undefined
    value. Use globally supported typeof(console) !== 'undefined'.
    
    Changed typeof(<var>) to typeof <var> as it's not a function
    
    Thanks @sgiehl
    
    * Change other occurences of console !== undefined
    
    * JSLint: Remove console available global as it is not in IE7 and other older browsers
    
    * Minified piwik.js
    
    * JSlint validation
    
    * Minified files after merging 3.x-dev
    
    * Fix regression
    d5b7c848
    Historique
    JS Tracker: prevent IE 7 error (#11668)
    Matthieu Aubry a rédigé
    * Use typeof(console) to prevent IE 7 error
    
    When using directly console !== undefined, older IE versions
    throw an error as they're actually tring to access an undefined
    value. Use globally supported typeof(console) !== 'undefined'.
    
    Changed typeof(<var>) to typeof <var> as it's not a function
    
    Thanks @sgiehl
    
    * Change other occurences of console !== undefined
    
    * JSLint: Remove console available global as it is not in IE7 and other older browsers
    
    * Minified piwik.js
    
    * JSlint validation
    
    * Minified files after merging 3.x-dev
    
    * Fix regression