Total Complexity | 3 |
Complexity/F | 1.5 |
Lines of Code | 53 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | /** |
||
4 | (function (factory) { |
||
5 | if (typeof define === 'function' && define.amd) { |
||
|
|||
6 | // AMD. Register as an anonymous module. |
||
7 | define('bootstrap.wysihtml5.hr-HR', ['jquery', 'bootstrap.wysihtml5'], factory); |
||
8 | } else { |
||
9 | // Browser globals |
||
10 | factory(jQuery); |
||
11 | } |
||
12 | }(function($){ |
||
13 | $.fn.wysihtml5.locale["hr-HR"] = { |
||
14 | font_styles: { |
||
15 | normal: "Normalan tekst", |
||
16 | h1: "Naslov 1", |
||
17 | h2: "Naslov 2", |
||
18 | h3: "Naslov 3" |
||
19 | }, |
||
20 | emphasis: { |
||
21 | bold: "Podebljano", |
||
22 | italic: "Nakrivljeno", |
||
23 | underline: "Podcrtano" |
||
24 | }, |
||
25 | lists: { |
||
26 | unordered: "Nesortirana lista", |
||
27 | ordered: "Sortirana lista", |
||
28 | outdent: "Izdubi", |
||
29 | indent: "Udubi" |
||
30 | }, |
||
31 | link: { |
||
32 | insert: "Umetni poveznicu", |
||
33 | cancel: "Otkaži" |
||
34 | }, |
||
35 | image: { |
||
36 | insert: "Umetni sliku", |
||
37 | cancel: "Otkaži" |
||
38 | }, |
||
39 | html: { |
||
40 | edit: "Izmjeni HTML" |
||
41 | }, |
||
42 | colours: { |
||
43 | black: "Crna", |
||
44 | silver: "Srebrna", |
||
45 | gray: "Siva", |
||
46 | maroon: "Kestenjasta", |
||
47 | red: "Crvena", |
||
48 | purple: "Ljubičasta", |
||
49 | green: "Zelena", |
||
50 | olive: "Maslinasta", |
||
51 | navy: "Mornarska", |
||
52 | blue: "Plava", |
||
53 | orange: "Narandžasta" |
||
54 | } |
||
55 | }; |
||
56 | })); |
||
57 |
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.