Commit 61f14c1d authored by Florian Müllner's avatar Florian Müllner

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
parent 5eb80e2d
...@@ -70,8 +70,6 @@ A more realistic example would be connecting to a signal on a ...@@ -70,8 +70,6 @@ A more realistic example would be connecting to a signal on a
method of a prototype: method of a prototype:
```js ```js
const Lang = imports.lang;
MyPrototype = { MyPrototype = {
_init : function() { _init : function() {
fnorb.connect('frobate', this._onFnorbFrobate.bind(this)); fnorb.connect('frobate', this._onFnorbFrobate.bind(this));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment