¿Cómo puedo limpiar los atributos de un usuario con coffescript?
¡
limpiar atributos usuario - Coffescript
Iniciado por
Leire Martinez
, jun 05 2014 16:30
#1 AUTOR PREGUNTA
Preguntas Similares
Esto también te interesa!
#2
Publicado 05 junio 2014 - 23:01
Esto lo haces con el método clear():
var atributo = new Model();
atributo .set({ "id": "hola mundo" });
alert(atributo .get("id"));
alert(atributo .id);
atributo .clear();
alert(atributo .id);
alert(atributo.get("id"));