This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#**ES6:** *First Episode. | |
###Introduction | |
Brendan Eich created a language called Mocha in 1995, when he worked on **Netscape**. Then, its name was changed to **LiveScript** in September of the same year. Nevertheless, this title was reformed too, for the reason that a commercialization emerged. **Netscape** was obtained by **Sun Microsystems**, owner of Java language. | |
Later in 1997 appeared the **ECMA (European Computer Manufacturers Association)**, a committee to standardize *JavaScript*. The standard is planned to avoid incompatibilities between browsers. Since then, *JavaScript* guidelines are run by *ECMAScript*. | |
At the beginning of 1999, the *ECMAScript* guideline third version is generated. It would remain usable for a few years more; next, some attempts were made to write the fourth version. However, it was only until 2011 that the fifth version *(ES5)* was approved and standardized. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#**React:** *First episode* | |
###*Introduction* | |
React is a Javascript library focused on the development of user interfaces. This is the main work area, but with the whole ecosystem of applications and tools and components, with React we find an excellent partner to make all kinds of web applications, **SPA (Single Page Application)** or even mobile applications. | |
It is therefore a base on which you can build almost anything with Javascript and that facilitates much development, as it offers us many things already ready, in which we do not need to invest time to develop. | |
###*Configurar React* | |
*React* es una librería de ***JavaScript*** para crear interfaces de usuario, el primer paso es configurar el entorno. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#**ES6:** *Primer Episodio* | |
###Introducción | |
Brendan Eich en 1995 crea un lenguaje llamado Mocha, cuando trabajaba en **Netscape**, luego en septiembre del mismo año cambia de nombre a **LiveScript**, hasta que cambiaron el nombre a **JavaScript** debido a una comercialización, ya que **Netscape** fue adquirido por **Sun Microsystems**, propietario del Lenguaje **Java**, muy popular para ese entonces. | |
Más tarde en 1997 se crea la ***ECMA (European Computer Manufacturers Association)***, comité para estandarizar *JavaScript*, dicho estándar está diseñado para evitar incompatibilidades entre navegadores y desde entonces las normas *JavaScript* están regidas por *ECMAScript*. | |
A inicio de 1999, se obtiene la tercera versión de la norma *ECMAScript*, que seguiría siendo válida unos años más, luego se le realizaron pequeños intentos para escribir la versión 4, pero fue hasta 2011 que la versión 5 (ES5) fue aprobada y estandarizada. | |
Posteriormente en 2013 el proyecto de la versión 6 fue detenido hasta diciembre |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var quoteStatus = (function () { | |
var quotesStatus = ""; | |
var db = {}; | |
function getQuotes() { | |
//user id | |
var id = $("#uid").val(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// IIFE | |
var Rows = (function () { | |
var part_number = ""; | |
var part_quantity = 0; | |
var i = 0; | |
var datosForm = []; | |
var data = []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Auto | |
attr_accessor :nValves, :wheels | |
attr_reader :model | |
attr_writer :model | |
#Methods are public by default | |
def self.motorValves | |
"It has #{ nValves } Valves"; | |
end | |