Skip to content

Commit

Permalink
istanbul ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
errorrik committed Mar 22, 2019
1 parent 026489e commit cdbec2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/browser/ie-old-than-9.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ var ie = require('./ie');
/**
* 是否 IE 并且小于 9
*/
/* istanbul ignore next */
var ieOldThan9 = ie && ie < 9;
var ieOldThan9 = ie && /* istanbul ignore next */ ie < 9;
// #[end]

exports = module.exports = ieOldThan9;
3 changes: 1 addition & 2 deletions src/browser/ie.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ var ieVersionMatch = typeof navigator !== 'undefined'
*
* @type {number}
*/
/* istanbul ignore next */
var ie = ieVersionMatch ? ieVersionMatch[1] - 0 : 0;
var ie = ieVersionMatch ? /* istanbul ignore next */ ieVersionMatch[1] - 0 : 0;
// #[end]

exports = module.exports = ie;

0 comments on commit cdbec2d

Please sign in to comment.