Total Complexity | 4 |
Complexity/F | 1 |
Lines of Code | 14 |
Function Count | 4 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | jaxon.dialogs.notify = { |
||
|
|||
2 | success: function(content, title) { |
||
3 | $.notify(content, {className: 'success', position: "top center"}); |
||
4 | }, |
||
5 | info: function(content, title) { |
||
6 | $.notify(content, {className: 'info', position: "top center"}); |
||
7 | }, |
||
8 | warning: function(content, title) { |
||
9 | $.notify(content, {className: 'warn', position: "top center"}); |
||
10 | }, |
||
11 | error: function(content, title) { |
||
12 | $.notify(content, {className: 'error', position: "top center"}); |
||
13 | } |
||
14 | }; |
||
15 |
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.