[gnome-shell] telepathyClient: Don't redeclare N_()



commit 9476aa598a43497c75eae84648b4a5e500fda06e
Author: Florian Müllner <fmuellner gnome org>
Date:   Sat Jun 29 14:34:46 2019 +0200

    telepathyClient: Don't redeclare N_()
    
    It is already defined globally via environment.js.
    
    Spotted by eslint.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/606

 js/ui/components/telepathyClient.js | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/js/ui/components/telepathyClient.js b/js/ui/components/telepathyClient.js
index 1017ca562..c316084a2 100644
--- a/js/ui/components/telepathyClient.js
+++ b/js/ui/components/telepathyClient.js
@@ -40,8 +40,6 @@ var NotificationDirection = {
     RECEIVED: 'chat-received'
 };
 
-var N_ = s => s;
-
 function makeMessageFromTpMessage(tpMessage, direction) {
     let [text, flags] = tpMessage.to_text();
 


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