| Total Complexity | 3 |
| Complexity/F | 1.5 |
| Lines of Code | 58 |
| 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.il-HE', ['jquery', 'bootstrap.wysihtml5'], factory); |
||
| 8 | } else { |
||
| 9 | // Browser globals |
||
| 10 | factory(jQuery); |
||
| 11 | } |
||
| 12 | }(function($){ |
||
| 13 | $.fn.wysihtml5.locale["il-HE"] = { |
||
| 14 | font_styles: { |
||
| 15 | normal: "רגיל", |
||
| 16 | h1: "כותרת 1", |
||
| 17 | h2: "כותרת 2", |
||
| 18 | h3: "כותרת 3", |
||
| 19 | h4: "כותרת 4", |
||
| 20 | h5: "כותרת 5", |
||
| 21 | h6: "כותרת 6" |
||
| 22 | }, |
||
| 23 | emphasis: { |
||
| 24 | bold: "מודגש", |
||
| 25 | italic: "טקסט נטוי", |
||
| 26 | underline: "קו תחתון", |
||
| 27 | small: "קטן" |
||
| 28 | }, |
||
| 29 | lists: { |
||
| 30 | unordered: "רשימה עם תבליטים", |
||
| 31 | ordered: "רשימה ממוספרת", |
||
| 32 | outdent: "הקטן כניסה", |
||
| 33 | indent: "הגדל כניסה", |
||
| 34 | indered: "הגדל כניסה" |
||
| 35 | }, |
||
| 36 | link: { |
||
| 37 | insert: "הכנס קישור", |
||
| 38 | cancel: "בטל קישור" |
||
| 39 | }, |
||
| 40 | image: { |
||
| 41 | insert: "הוסף תמונה", |
||
| 42 | cancel: "בטל" |
||
| 43 | }, |
||
| 44 | html: { |
||
| 45 | edit: "עורך HTML" |
||
| 46 | }, |
||
| 47 | colours: { |
||
| 48 | black: "שחור", |
||
| 49 | silver: "כסף", |
||
| 50 | gray: "אפור", |
||
| 51 | maroon: "חום", |
||
| 52 | red: "אדום", |
||
| 53 | purple: "סגול", |
||
| 54 | green: "ירוק", |
||
| 55 | olive: "ירוק זית", |
||
| 56 | navy: "כחול צי", |
||
| 57 | blue: "כחול", |
||
| 58 | orange: "כתום" |
||
| 59 | } |
||
| 60 | }; |
||
| 61 | })); |
||
| 62 |
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.