cvs commit: jakarta-alexandria/src/test/resources/js PadraoJS.js
[email protected] 2 Apr 2003 07:37:17 -0000
| Newsgroups | gmane.comp.jakarta.alexandria.devel |
|---|---|
| Message-ID | <[email protected]> |
nicolaken 2003/04/01 23:37:17 Modified: src/test/resources/js PadraoJS.js Log: Starting translation Revision Changes Path 1.2 +9 -8 jakarta-alexandria/src/test/resources/js/PadraoJS.js Index: PadraoJS.js =================================================================== RCS file: /home/cvs/jakarta-alexandria/src/test/resources/js/PadraoJS.js,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- PadraoJS.js 28 Mar 2003 08:11:29 -0000 1.1 +++ PadraoJS.js 2 Apr 2003 07:37:17 -0000 1.2 @@ -6,16 +6,17 @@ Padrão de codificação JavaScript: -Declaração de variáveis: +Variable declaration: -O nome da variável deverá ser iniciado por letra minúscula, -e suas palavras não serão separadas por espaço, e sim pela -inicial da palavra maiúscula. -Para cada declaração de variável, deverá ser incluído um -comentário com a sua funcionalidade, como no exemplo: +The name of the variables has to start with a lower-case letter, +and the words composing the name must not be separated by a space, +but should start with a higher-case letter. -var nomeCliente; // armazena o nome do cliente -var endResidCliente; // armazena o endereço residencial do cliente; +For every variable declaration, there should be included a +comment on its functionality, as in the following example: + +var customerName; // the name of the client +var customerAddress; // the office address of the client Declaração de funções: