diff options
author | Doug Kearns <dougkearns@gmail.com> | 2009-01-07 01:04:16 +1100 |
---|---|---|
committer | Doug Kearns <dougkearns@gmail.com> | 2009-01-07 14:44:35 +1100 |
commit | 61d3fae8b46174e9af3c725b2f01e13a1a99db4c (patch) | |
tree | bca1c78ead64f3da24536e50b4912c9a5aed5875 /common/content/modes.js | |
parent | 0cb74ad15721acfab9027338b7eb10e60aa18c44 (diff) | |
download | pentadactyl-61d3fae8b46174e9af3c725b2f01e13a1a99db4c.tar.gz |
Use self as the returned object from all creation functions.
Diffstat (limited to 'common/content/modes.js')
-rw-r--r-- | common/content/modes.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/content/modes.js b/common/content/modes.js index 4f5d3de9..df20bff0 100644 --- a/common/content/modes.js +++ b/common/content/modes.js @@ -126,7 +126,8 @@ const modes = (function () //{{{ ////////////////////// PUBLIC SECTION ////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////{{{ - var self = { + const self = { + NONE: 0, __iterator__: function () util.Array.iterator(this.all), |