summaryrefslogtreecommitdiff
path: root/common/content/buffer.js
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-02-03 09:04:23 -0500
committerKris Maglione <maglione.k@gmail.com>2011-02-03 09:04:23 -0500
commit4a09c97eb1dd5db2d300e17bde15bd88563616f9 (patch)
tree6740816302e4123d1083df55f3708617c84f0ce7 /common/content/buffer.js
parent346cf2531a86b075074ecde7f3f25c6c24e14f0c (diff)
downloadpentadactyl-4a09c97eb1dd5db2d300e17bde15bd88563616f9.tar.gz
More lazy instantiation. Look out for breakage.
Diffstat (limited to 'common/content/buffer.js')
-rw-r--r--common/content/buffer.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/content/buffer.js b/common/content/buffer.js
index 9c5f3031..1357afd6 100644
--- a/common/content/buffer.js
+++ b/common/content/buffer.js
@@ -1640,9 +1640,9 @@ var Buffer = Module("buffer", {
};
},
events: function () {
- events.addSessionListener(config.browser, "DOMContentLoaded", this.closure.onDOMContentLoaded, true);
- events.addSessionListener(config.browser, "load", this.closure.onPageLoad, true);
- events.addSessionListener(config.browser, "scroll", this.closure._updateBufferPosition, false);
+ events.addSessionListener(config.browser, "DOMContentLoaded", buffer.closure.onDOMContentLoaded, true);
+ events.addSessionListener(config.browser, "load", buffer.closure.onPageLoad, true);
+ events.addSessionListener(config.browser, "scroll", buffer.closure._updateBufferPosition, false);
},
mappings: function () {
var myModes = config.browserModes;