[gjs: 1/5] doc: Remove left-over imports.lang reference
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs: 1/5] doc: Remove left-over imports.lang reference
- Date: Sat, 2 Mar 2019 20:36:29 +0000 (UTC)
commit 61f14c1d1d15cdd7f8316ebf2847a2513fab8834
Author: Florian Müllner <fmuellner gnome org>
Date: Sun Jul 29 14:48:18 2018 +0200
doc: Remove left-over imports.lang reference
The code snippet was updated to not use Lang.bind(), so remove
the corresponding import.
https://gitlab.gnome.org/GNOME/gjs/merge_requests/272
doc/Style_Guide.md | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/doc/Style_Guide.md b/doc/Style_Guide.md
index 1a914570..637d2c84 100644
--- a/doc/Style_Guide.md
+++ b/doc/Style_Guide.md
@@ -70,8 +70,6 @@ A more realistic example would be connecting to a signal on a
method of a prototype:
```js
-const Lang = imports.lang;
-
MyPrototype = {
_init : function() {
fnorb.connect('frobate', this._onFnorbFrobate.bind(this));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]