mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 19:44:13 +01:00
Make .closure a Proxy and rename .bound
This commit is contained in:
@@ -46,7 +46,7 @@ var Buffer = Module("Buffer", {
|
||||
this.win = win;
|
||||
},
|
||||
|
||||
get addPageInfoSection() Buffer.closure.addPageInfoSection,
|
||||
get addPageInfoSection() Buffer.bound.addPageInfoSection,
|
||||
|
||||
get pageInfo() Buffer.pageInfo,
|
||||
|
||||
@@ -2057,7 +2057,7 @@ var Buffer = Module("Buffer", {
|
||||
events: function initEvents(dactyl, modules, window) {
|
||||
let { buffer, config, events } = modules;
|
||||
|
||||
events.listen(config.browser, "scroll", buffer.closure._updateBufferPosition, false);
|
||||
events.listen(config.browser, "scroll", buffer.bound._updateBufferPosition, false);
|
||||
},
|
||||
mappings: function initMappings(dactyl, modules, window) {
|
||||
let { Editor, Events, buffer, editor, events, ex, mappings, modes, options, tabs } = modules;
|
||||
|
||||
Reference in New Issue
Block a user