[gnome-documents/wip/skydrive: 16/18] application: the miner instances don't need to be class members



commit 4a7999419580ee02df04700a4b4ee3ea0c4613f6
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed May 30 18:32:59 2012 +0200

    application: the miner instances don't need to be class members
    
    Fixes: https://bugzilla.gnome.org/666535

 src/application.js |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index 5625007..7d80476 100644
--- a/src/application.js
+++ b/src/application.js
@@ -193,12 +193,12 @@ Application.prototype = {
         Global.notificationManager = new Notifications.NotificationManager();
 
         // startup a refresh of the gdocs cache
-        this._gdataMiner = new GDataMiner.GDataMiner();
-        this._refreshMinerNow(this._gdataMiner);
+        let gdataMiner = new GDataMiner.GDataMiner();
+        this._refreshMinerNow(gdataMiner);
 
         // startup a refresh of the skydrive cache
-        this._zpjMiner = new ZpjMiner.ZpjMiner();
-        this._refreshMinerNow(this._zpjMiner);
+        let zpjMiner = new ZpjMiner.ZpjMiner();
+        this._refreshMinerNow(zpjMiner);
 
         this._initMenus();
         this._mainWindow = new MainWindow.MainWindow(this.application);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]