| Total Complexity | 2 |
| Complexity/F | 2 |
| Lines of Code | 12 |
| Function Count | 1 |
| Duplicated Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | /*! |
||
| 11 | (function () { |
||
| 12 | 'use strict'; |
||
| 13 | if (navigator.userAgent.match(/IEMobile\/10\.0/)) { |
||
|
|
|||
| 14 | var msViewportStyle = document.createElement('style') |
||
| 15 | msViewportStyle.appendChild( |
||
| 16 | document.createTextNode( |
||
| 17 | '@-ms-viewport{width:auto!important}' |
||
| 18 | ) |
||
| 19 | ) |
||
| 20 | document.querySelector('head').appendChild(msViewportStyle) |
||
| 21 | } |
||
| 22 | })(); |
||
| 23 |
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.