Skip to content

Commit 59d134b

Browse files
Fix jshint issues
1 parent 25dcab8 commit 59d134b

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,8 @@ The user has signed in successfully. The following data is returned:
188188
email: 'user email',
189189
emailVerified: true | false,
190190
photoUrl: 'url of user image if available',
191-
id: <user id>
191+
id: <user id>,
192+
newUser: true | false
192193
}
193194
```
194195

@@ -215,6 +216,7 @@ Sign out failed for some reason.
215216
Get an access token, returning a Promise.
216217

217218
## deleteUser()
219+
Delete the current user. This can raise the following events:
218220

219221
### deleteusersuccess
220222
The user was deleted successfully.
@@ -223,7 +225,7 @@ The user was deleted successfully.
223225
The user was not deleted.
224226

225227
## sendEmailVerification()
226-
Sends a verification email for the current user.
228+
Sends a verification email for the current user. This can raise the following events:
227229

228230
### emailverificationsent
229231
The email verification was sent.
@@ -314,6 +316,7 @@ In order to ensure the browser implementation works, it will be necessary to con
314316
## 0.0.9
315317
- Added missing documentation for deleteUser() method
316318
- Added sendEmailVerification() method
319+
- Added reloadUser() method
317320
- Added property newUser to user details. Only true when user us first created.
318321

319322
## 0.0.8

www/browser/firebaseUIAuthPlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ function FirebaseUIAuth(options, resolve) {
214214
customEvent = new CustomEvent("emailverificationnotsent", {});
215215
window.dispatchEvent(customEvent);
216216
});
217-
}
217+
};
218218

219219
this.signOut = function() {
220220
firebase.auth().signOut();

www/firebaseUIAuthPlugin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ function FirebaseUIAuth(options) {
3434

3535
this.sendEmailVerification = function() {
3636
return exec(dispatchEvent, null, PLUGIN_NAME, 'sendEmailVerification', []);
37-
}
37+
};
3838

3939
this.reloadUser = function() {
4040
return exec(dispatchEvent, null, PLUGIN_NAME, 'reloadUser', []);
41-
}
41+
};
4242
}
4343

4444
module.exports = {

0 commit comments

Comments
 (0)