Total Complexity | 5 |
Complexity/F | 2.5 |
Lines of Code | 27 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | const Accordion = require('../js/modules/accordion'); |
||
2 | const Tabs = require('../js/modules/tabs'); |
||
3 | const Popup = require('../js/modules/popup'); |
||
4 | const SelectExtended = require('../js/modules/select'); |
||
5 | const Dropdown = require('../js/modules/dropdown'); |
||
6 | |||
7 | (function (root, factory) { |
||
8 | if (typeof define === 'function' && define.amd) { |
||
|
|||
9 | define([], factory); |
||
10 | } else if (typeof module === 'object' && module.exports) { |
||
11 | module.exports = factory(); |
||
12 | } else { |
||
13 | root.ArmUI = factory(); |
||
14 | } |
||
15 | }(typeof self !== 'undefined' ? self : this, function () { |
||
16 | |||
17 | const ArmUI = {}; |
||
18 | window.ArmUI = ArmUI; |
||
19 | |||
20 | ArmUI.Accordion = Accordion; |
||
21 | ArmUI.Tabs = Tabs; |
||
22 | ArmUI.Popup = Popup; |
||
23 | ArmUI.SelectExtended = SelectExtended; |
||
24 | ArmUI.Dropdown = Dropdown; |
||
25 | |||
26 | return ArmUI; |
||
27 | })); |
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.