Update style-guide.md

This commit is contained in:
Ilya Kantor 2019-04-11 10:49:37 +03:00 committed by GitHub
parent b362191966
commit 326bb84c91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,7 @@ const text = "Hello, world";
document.querySelector('.hello').innerHTML = text;
```
✅ DO (comment):
✅ DO (translate comment):
```js
// Ejemplo
@ -42,7 +42,7 @@ const text = 'Hola mundo';
document.querySelector('.hello').innerHTML = text;
```
❌ DON'T (class):
❌ DON'T (translate class):
```js
// Ejemplo
@ -52,7 +52,7 @@ const text = 'Hola mundo';
document.querySelector('.hola').innerHTML = text;
```
❌ DEFINITELY DON'T (variables):
❌ DEFINITELY DON'T (translate variables):
```js
// Ejemplo