[gnome-documents] sources.js: fix 'push' typo from 41d68d5ac9



commit c33c65bb36564d9865b21fccd03ee3d536f8a993
Author: Diego Escalante Urrelo <descalante igalia com>
Date:   Tue Aug 30 16:00:37 2011 -0500

    sources.js: fix 'push' typo from 41d68d5ac9

 src/sources.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/sources.js b/src/sources.js
index 2f7525a..ec04feb 100644
--- a/src/sources.js
+++ b/src/sources.js
@@ -140,7 +140,7 @@ SourceManager.prototype = {
                 this._outstandingOps++;
                 let source = new Source({ object: object,
                                           initCallback: Lang.bind(this, this._initSourceCollector) });
-                this._sources.push[source.id] = source;
+                this._sources[source.id] = source;
             }));
 
         let activeSourceId = Global.settings.get_string('active-source');



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