From 65dec2b72a3b16501b5c1ca6da9a65544d46b3a2 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 15 Nov 2011 16:37:57 -0500 Subject: [PATCH] shellDBus: Add missing initialization --- js/ui/shellDBus.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/shellDBus.js b/js/ui/shellDBus.js index 4ab34bd07..8fb51e1c1 100644 --- a/js/ui/shellDBus.js +++ b/js/ui/shellDBus.js @@ -156,7 +156,7 @@ GnomeShell.prototype = { }, ListExtensions: function() { - let out; + let out = {}; for (let uuid in ExtensionSystem.extensionMeta) { let dbusObj = this.GetExtensionInfo(uuid); out[uuid] = dbusObj; @@ -166,7 +166,7 @@ GnomeShell.prototype = { GetExtensionInfo: function(uuid) { let meta = ExtensionSystem.extensionMeta[uuid] || {}; - let out; + let out = {}; for (let key in meta) { let val = meta[key]; let type;