| Total Complexity | 3 |
| Complexity/F | 1.5 |
| Lines of Code | 57 |
| 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.ar-AR', ['jquery', 'bootstrap.wysihtml5'], factory); |
||
| 8 | } else { |
||
| 9 | // Browser globals |
||
| 10 | factory(jQuery); |
||
| 11 | } |
||
| 12 | }(function($){ |
||
| 13 | $.fn.wysihtml5.locale["ar-AR"] = { |
||
| 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 | }, |
||
| 28 | lists: { |
||
| 29 | unordered: "قائمة منقطة", |
||
| 30 | ordered: "قائمة مرقمة", |
||
| 31 | outdent: "محاذاه للخارج", |
||
| 32 | indent: "محاذاه للداخل" |
||
| 33 | }, |
||
| 34 | link: { |
||
| 35 | insert: "إضافة رابط", |
||
| 36 | cancel: "إلغاء" |
||
| 37 | }, |
||
| 38 | image: { |
||
| 39 | insert: "إضافة صورة", |
||
| 40 | cancel: "إلغاء" |
||
| 41 | }, |
||
| 42 | html: { |
||
| 43 | edit: "تعديل HTML" |
||
| 44 | }, |
||
| 45 | |||
| 46 | colours: { |
||
| 47 | black: "أسود", |
||
| 48 | silver: "فضي", |
||
| 49 | gray: "رمادي", |
||
| 50 | maroon: "بني", |
||
| 51 | red: "أحمر", |
||
| 52 | purple: "بنفسجي", |
||
| 53 | green: "أخضر", |
||
| 54 | olive: "زيتوني", |
||
| 55 | navy: "أزرق قاتم", |
||
| 56 | blue: "أزرق نيلي", |
||
| 57 | orange: "برتقالي" |
||
| 58 | } |
||
| 59 | }; |
||
| 60 | })); |
||
| 61 |
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.