[gnome-shell] shellDBus: Add missing initialization
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] shellDBus: Add missing initialization
- Date: Tue, 15 Nov 2011 21:48:25 +0000 (UTC)
commit 65dec2b72a3b16501b5c1ca6da9a65544d46b3a2
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Nov 15 16:37:57 2011 -0500
shellDBus: Add missing initialization
js/ui/shellDBus.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/shellDBus.js b/js/ui/shellDBus.js
index 4ab34bd..8fb51e1 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]