mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-11-07 11:03:01 +00:00
Improve comments and coding style
This commit is contained in:
@@ -63,7 +63,7 @@ function Syncer(options) {
|
||||
self.handleLazyLoadEvent(title);
|
||||
});
|
||||
// Get the login status
|
||||
this.getStatus(function (err,isLoggedIn) {
|
||||
this.getStatus(function(err,isLoggedIn) {
|
||||
// Do a sync from the server
|
||||
self.syncFromServer();
|
||||
});
|
||||
@@ -173,7 +173,7 @@ Syncer.prototype.syncFromServer = function() {
|
||||
this.pollTimerId = null;
|
||||
}
|
||||
this.syncadaptor.getSkinnyTiddlers(function(err,tiddlers) {
|
||||
// Trigger another sync
|
||||
// Trigger the next sync
|
||||
self.pollTimerId = setTimeout(function() {
|
||||
self.pollTimerId = null;
|
||||
self.syncFromServer.call(self);
|
||||
|
||||
Reference in New Issue
Block a user