| 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.el-GR', ['jquery', 'bootstrap.wysihtml5'], factory); |
||
| 8 | } else { |
||
| 9 | // Browser globals |
||
| 10 | factory(jQuery); |
||
| 11 | } |
||
| 12 | }(function($){ |
||
| 13 | $.fn.wysihtml5.locale["el-GR"] = { |
||
| 14 | font_styles: { |
||
| 15 | normal: "Απλό κείμενο", |
||
| 16 | h1: "Κεφαλίδα 1", |
||
| 17 | h2: "Κεφαλίδα 2", |
||
| 18 | h3: "Κεφαλίδα 3" |
||
| 19 | }, |
||
| 20 | emphasis: { |
||
| 21 | bold: "B", |
||
| 22 | italic: "I", |
||
| 23 | underline: "U" |
||
| 24 | }, |
||
| 25 | lists: { |
||
| 26 | unordered: "Λίστα με κουκκίδες", |
||
| 27 | ordered: "Αριθμημένη λίστα", |
||
| 28 | outdent: "Μείωση εσοχής", |
||
| 29 | indent: "Αύξηση εσοχής" |
||
| 30 | }, |
||
| 31 | link: { |
||
| 32 | insert: "Εισαγωγή Συνδέσμου", |
||
| 33 | cancel: "Άκυρο" |
||
| 34 | }, |
||
| 35 | image: { |
||
| 36 | insert: "Εισαγωγή Εικόνας", |
||
| 37 | cancel: "Άκυρο" |
||
| 38 | }, |
||
| 39 | html: { |
||
| 40 | edit: "Επεξεργασία HTML" |
||
| 41 | }, |
||
| 42 | colours: { |
||
| 43 | black: "Μαύρο", |
||
| 44 | silver: "Ασημί", |
||
| 45 | gray: "Γκρι", |
||
| 46 | maroon: "Καφέ", |
||
| 47 | red: "Κόκκινο", |
||
| 48 | purple: "Μωβ", |
||
| 49 | green: "Πράσινο", |
||
| 50 | olive: "Λαδί", |
||
| 51 | navy: "Βαθύ Μπλε", |
||
| 52 | blue: "Μπλε", |
||
| 53 | orange: "Πορτοκαλί" |
||
| 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.