| Total Complexity | 2 |
| Complexity/F | 2 |
| Lines of Code | 13 |
| Function Count | 1 |
| Duplicated Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | /* |
||
| 33 | var settings = { |
||
| 34 | |||
| 35 | displaySettings: function (display) { |
||
| 36 | if (display) { |
||
| 37 | elements.mainUIMembers.hide(define.animationSpeed); |
||
| 38 | elements.settingsPanel.delay(define.animationSpeed).show(define.animationSpeed); |
||
| 39 | } else { |
||
| 40 | elements.settingsPanel.hide(define.animationSpeed); |
||
| 41 | elements.mainUIMembers.delay(define.animationSpeed).show(define.animationSpeed); |
||
| 42 | } |
||
| 43 | } |
||
| 44 | |||
| 45 | } |
||
|
|
|||
| 46 | |||
| 49 |
Requirement of semicolons purely is a coding style issue since JavaScript has specific rules about semicolons which are followed by all browsers.
Further Readings: