Skip to content

Commit fd161b9

Browse files
committed
fix linting
1 parent 05600c4 commit fd161b9

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/Meteor.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ const Meteor = {
146146
this.ddp = ddp;
147147

148148
Data.ddp.on('connected', () => {
149-
150149
// Clear the collections of any stale data in case this is a reconnect
151150
if (Data.db && Data.db.collections) {
152151
for (var collection in Data.db.collections) {
@@ -165,7 +164,7 @@ const Meteor = {
165164
});
166165
this._reactiveDict.set('connected', true);
167166
this.connected = true;
168-
Data.notify('change');
167+
Data.notify('change');
169168
});
170169

171170
let lastDisconnect = null;

src/user/User.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,16 @@ const User = {
6262

6363
User._userIdSaved = null;
6464
User._endLoggingOut();
65-
},
65+
},
6666
loginWithCustomHandler(req, callback) {
6767
User._isTokenLogin = false;
6868
User._startLoggingIn();
6969

7070
Meteor.call('login', req, (err, result) => {
7171
User._handleLoginCallback(err, result);
7272

73-
typeof callback == 'function' && callback(err);
74-
});
73+
typeof callback == 'function' && callback(err);
74+
});
7575
},
7676
loginWithPassword(selector, password, callback) {
7777
User._isTokenLogin = false;
@@ -235,7 +235,7 @@ const User = {
235235
if (value !== null) {
236236
User._isTokenLogin = true;
237237
Meteor.isVerbose && console.info('User._loginWithToken::: token:', value);
238-
238+
239239
this._isCallingLogin = true;
240240
User._startLoggingIn();
241241
Meteor.call('login', { resume: value }, (err, result) => {

0 commit comments

Comments
 (0)