Total Complexity | 2 |
Complexity/F | 1 |
Lines of Code | 18 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | var $ = window.jQuery; |
||
2 | |||
3 | exports.settings = { |
||
4 | init: function() { |
||
5 | |||
6 | Amarkal.settings.fields.init(); |
||
|
|||
7 | Amarkal.settings.search.init(); |
||
8 | Amarkal.settings.sections.init(); |
||
9 | |||
10 | // This is called after the onChange/hide/show event listeners are added since some events |
||
11 | // are triggered when the form is instantiated |
||
12 | $('#amarkal-settings-form').amarkalUIForm(); |
||
13 | } |
||
14 | }; |
||
15 | |||
16 | $(document).ready(function(){ |
||
17 | Amarkal.settings.init(); |
||
18 | }); |
||
19 |
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.