| 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.pt-BR', ['jquery', 'bootstrap.wysihtml5'], factory); |
||
| 8 | } else { |
||
| 9 | // Browser globals |
||
| 10 | factory(jQuery); |
||
| 11 | } |
||
| 12 | }(function($){ |
||
| 13 | $.fn.wysihtml5.locale["pt-BR"] = { |
||
| 14 | font_styles: { |
||
| 15 | normal: "Texto normal", |
||
| 16 | h1: "Título 1", |
||
| 17 | h2: "Título 2", |
||
| 18 | h3: "Título 3", |
||
| 19 | h4: "Título 4", |
||
| 20 | h5: "Título 5", |
||
| 21 | h6: "Título 6" |
||
| 22 | }, |
||
| 23 | emphasis: { |
||
| 24 | bold: "Negrito", |
||
| 25 | italic: "Itálico", |
||
| 26 | underline: "Sublinhado", |
||
| 27 | small: "Pequeno" |
||
| 28 | }, |
||
| 29 | lists: { |
||
| 30 | unordered: "Lista", |
||
| 31 | ordered: "Lista numerada", |
||
| 32 | outdent: "Remover indentação", |
||
| 33 | indent: "Indentar" |
||
| 34 | }, |
||
| 35 | link: { |
||
| 36 | insert: "Inserir link", |
||
| 37 | cancel: "Cancelar", |
||
| 38 | target: "Abrir link em um nova janela" |
||
| 39 | }, |
||
| 40 | image: { |
||
| 41 | insert: "Inserir imagem", |
||
| 42 | cancel: "Cancelar" |
||
| 43 | }, |
||
| 44 | html: { |
||
| 45 | edit: "Editar HTML" |
||
| 46 | }, |
||
| 47 | colours: { |
||
| 48 | black: "Preto", |
||
| 49 | silver: "Prata", |
||
| 50 | gray: "Cinza", |
||
| 51 | maroon: "Marrom", |
||
| 52 | red: "Vermelho", |
||
| 53 | purple: "Roxo", |
||
| 54 | green: "Verde", |
||
| 55 | olive: "Oliva", |
||
| 56 | navy: "Marinho", |
||
| 57 | blue: "Azul", |
||
| 58 | orange: "Laranja" |
||
| 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.