[gnome-code-assistance] [backends/jscommon] Do not use destructuring assignment for now
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-code-assistance] [backends/jscommon] Do not use destructuring assignment for now
- Date: Sat, 9 Nov 2013 11:32:52 +0000 (UTC)
commit 5e28d8e2b85df6541a059c495735df412198476f
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Sat Nov 9 12:31:06 2013 +0100
[backends/jscommon] Do not use destructuring assignment for now
.../gnome/codeassistance/transport_dbus.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/backends/jscommon/gnome/codeassistance/transport_dbus.js
b/backends/jscommon/gnome/codeassistance/transport_dbus.js
index b476490..2c0dac1 100644
--- a/backends/jscommon/gnome/codeassistance/transport_dbus.js
+++ b/backends/jscommon/gnome/codeassistance/transport_dbus.js
@@ -110,7 +110,8 @@ Server.prototype = {
},
on_name_owner_changed: function(emitter, senderName, parameters) {
- [owner, oldname, newname] = parameters;
+ var oldname = parameters[1];
+ var newname = parameters[2];
if (newname == '' && oldname in this.apps) {
this.dispose_app(this.apps[oldname]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]