Lint compliance

pull/1/head
yflory 7 years ago
parent 9eb33e39e6
commit 61935500f4

@ -652,13 +652,13 @@ define([
} }
// Drive // Drive
case 'DRIVE_LOG': { case 'DRIVE_LOG': {
common.drive.onLog.fire(data); common.drive.onLog.fire(data); break;
} }
case 'DRIVE_CHANGE': { case 'DRIVE_CHANGE': {
common.drive.onChange.fire(data); common.drive.onChange.fire(data); break;
} }
case 'DRIVE_REMOVE': { case 'DRIVE_REMOVE': {
common.drive.onRemove.fire(data); common.drive.onRemove.fire(data); break;
} }
} }
}; };

@ -1014,18 +1014,18 @@ define([
old: o, old: o,
new: n, new: n,
path: p path: p
}) });
}); });
store.proxy.on('remove', [], function (o, p) { store.proxy.on('remove', [], function (o, p) {
postMessage('DRIVE_REMOVE', { postMessage('DRIVE_REMOVE', {
old: o, old: o,
path: p path: p
}) });
}); });
} }
if (data.messenger) { if (data.messenger) {
var messenger = store.messenger = Messenger.messenger(store); // TODO var messenger = store.messenger = Messenger.messenger(store);
messenger.on('message', function (message) { messenger.on('message', function (message) {
postMessage('CONTACTS_MESSAGE', message); postMessage('CONTACTS_MESSAGE', message);
}); });

Loading…
Cancel
Save