4 ms·
It initializes the Auth module with the User object. The Auth module in turn extends the User object with the property 'auth'. The auth property is then extend
by runj__ 12y ago
It initializes the Auth module with the User object. The Auth module in turn extends the User object with the property 'auth'.
The auth property is then extended with a 'logAttempt' function and a 'clearLoginAttempts' function.
The User object in the parent context can then use these properties.
Oh, and I agree that the tabbing makes it look ridiculous. Javascript should use two spaces, nothing more, nothing less (let the fight begin).
- b3n 12y ago> Oh, and I agree that the tabbing makes it look ridiculous. Javascript should use two spaces, nothing more, nothing less (let the fight begin). That's not the code's fault, GitHub should set the tab-size[1] property to something more legible. [1] http://www.w3.org/TR/css3-text/#tab-size http://www.w3.org/TR/css3-text/#tab-size