[gnome-shell] Small coding style fixes



commit 668920cec423aca5d367976cf243762a898a8391
Author: Adel Gadllah <adel gadllah gmail com>
Date:   Thu Oct 20 22:40:22 2011 +0200

    Small coding style fixes

 js/ui/modalDialog.js     |    2 +-
 js/ui/telepathyClient.js |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/modalDialog.js b/js/ui/modalDialog.js
index faea995..c2f3b39 100644
--- a/js/ui/modalDialog.js
+++ b/js/ui/modalDialog.js
@@ -110,7 +110,7 @@ ModalDialog.prototype = {
         this._buttonLayout.destroy_children();
         this._actionKeys = {};
 
-        for (let i = 0; i < buttons.length; i ++) {
+        for (let i = 0; i < buttons.length; i++) {
             let buttonInfo = buttons[i];
             let label = buttonInfo['label'];
             let action = buttonInfo['action'];
diff --git a/js/ui/telepathyClient.js b/js/ui/telepathyClient.js
index e9eb3ad..695a12b 100644
--- a/js/ui/telepathyClient.js
+++ b/js/ui/telepathyClient.js
@@ -900,7 +900,7 @@ ChatNotification.prototype = {
         }
 
         let groups = this._contentArea.get_children();
-        for (let i = 0; i < groups.length; i ++) {
+        for (let i = 0; i < groups.length; i++) {
             let group = groups[i];
             if (group.get_children().length == 0)
                 group.destroy();
@@ -938,7 +938,7 @@ ChatNotification.prototype = {
         let body = highlighter.actor;
 
         let styles = props.styles;
-        for (let i = 0; i < styles.length; i ++)
+        for (let i = 0; i < styles.length; i++)
             body.add_style_class_name(styles[i]);
 
         let group = props.group;



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