[gnome-shell/wip/fmuellner/es6-class-preparations: 15/18] docs: Remove obsolete Lang references



commit 97963a1ca8105f3140444281d9aa393f029bada8
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Nov 27 23:42:26 2018 +0100

    docs: Remove obsolete Lang references
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/350

 HACKING.md | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/HACKING.md b/HACKING.md
index 0b86763da..c9c0de661 100644
--- a/HACKING.md
+++ b/HACKING.md
@@ -82,7 +82,6 @@ don't use.
 ```javascript
     const GLib = imports.gi.GLib;
     const Gio = imports.gi.Gio;
-    const Lang = imports.lang;
     const St = imports.gi.St;
 
     const Main = imports.ui.main;
@@ -246,8 +245,6 @@ variable that can be captured in closures.
 All closures should be wrapped with Function.prototype.bind or use arrow
 notation.
 ```javascript
-    const Lang = imports.lang;
-
     let closure1 = () => { this._fnorbate(); };
     let closure2 = this._fnorbate.bind(this);
 ```


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