Create Login Class javascript & php (AJAX)

1

I have a great question regarding the javascript es6 to create a login class, my intention was to organize the code more, but I do not know where to start: p, I apologize for my lack of knowledge about the subject most try look for a light here.

I'm using this pattern to create my functions using jquery & ajax; php; .

var LOGIN;

LOGIN = {

Auth: function () { Aqui o código }
Logoff: function () { Aqui o código }

}
LOGIN.Auth();
    
asked by anonymous 04.04.2018 / 11:28

0 answers