1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-19 21:27:59 +01:00

Use self as the returned object from all creation functions.

This commit is contained in:
Doug Kearns
2009-01-07 01:04:16 +11:00
parent 0cb74ad157
commit 61d3fae8b4
5 changed files with 44 additions and 43 deletions

View File

@@ -126,7 +126,8 @@ const modes = (function () //{{{
////////////////////// PUBLIC SECTION //////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////{{{
var self = {
const self = {
NONE: 0,
__iterator__: function () util.Array.iterator(this.all),