Browse Source

Fixing documentation warnings.

master
yanas 9 years ago
parent
commit
03018a2ead
3 changed files with 7 additions and 6 deletions
  1. 5
    4
      modules/UI/Feedback.js
  2. 1
    1
      modules/UI/toolbars/Toolbar.js
  3. 1
    1
      modules/statistics/CallStats.js

+ 5
- 4
modules/UI/Feedback.js View File

1
-/**
2
- * Created by ystamcheva on 2/10/15.
1
+/* global interfaceConfig */
2
+
3
+/*
4
+ * Created by Yana Stamcheva on 2/10/15.
3
  */
5
  */
4
-/* jshint -W101 */
5
 var messageHandler = require("./util/MessageHandler");
6
 var messageHandler = require("./util/MessageHandler");
6
 var callStats = require("../statistics/CallStats");
7
 var callStats = require("../statistics/CallStats");
7
 var APP = require("../../app");
8
 var APP = require("../../app");
106
                         feedbackDialog.goToState('detailed_feedback');
107
                         feedbackDialog.goToState('detailed_feedback');
107
                     }
108
                     }
108
                 };
109
                 };
109
-                // Initialise stars to correspond to previously entered feedback.
110
+                // Init stars to correspond to previously entered feedback.
110
                 if (Feedback.feedbackScore > 0
111
                 if (Feedback.feedbackScore > 0
111
                     && index < Feedback.feedbackScore) {
112
                     && index < Feedback.feedbackScore) {
112
                     Feedback.hoverStars(index);
113
                     Feedback.hoverStars(index);

+ 1
- 1
modules/UI/toolbars/Toolbar.js View File

149
                 window.location.pathname = "/";
149
                 window.location.pathname = "/";
150
             }, 3000);
150
             }, 3000);
151
         }
151
         }
152
-    }
152
+    };
153
 
153
 
154
     if (Feedback.feedbackScore > 0) {
154
     if (Feedback.feedbackScore > 0) {
155
         Feedback.openFeedbackWindow();
155
         Feedback.openFeedbackWindow();

+ 1
- 1
modules/statistics/CallStats.js View File

94
                                 ', "comment": "' + detailedFeedback + '"}';
94
                                 ', "comment": "' + detailedFeedback + '"}';
95
 
95
 
96
         var feedbackJSON = JSON.parse(feedbackString);
96
         var feedbackJSON = JSON.parse(feedbackString);
97
-        
97
+
98
         callStats.sendUserFeedback(
98
         callStats.sendUserFeedback(
99
             this.confID, feedbackJSON);
99
             this.confID, feedbackJSON);
100
     }
100
     }

Loading…
Cancel
Save