1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 11:27:58 +01:00

whitespace fixes

This commit is contained in:
Doug Kearns
2008-09-10 10:44:01 +00:00
parent ba2acde7ff
commit 0437d42c53
3 changed files with 10 additions and 9 deletions

View File

@@ -693,8 +693,8 @@ liberator.Buffer = function () //{{{
); );
result.__iterator__ = asIterator result.__iterator__ = asIterator
? function() { let elem; while((elem = this.iterateNext())) yield elem } ? function () { let elem; while ((elem = this.iterateNext())) yield elem; }
: function() { for(let i = 0; i < this.snapshotLength; i++) yield this.snapshotItem(i) }; : function () { for (let i = 0; i < this.snapshotLength; i++) yield this.snapshotItem(i); };
return result; return result;
}, },

View File

@@ -246,7 +246,8 @@ liberator.modes = (function () //{{{
this.set(mainMode, extendedMode, silent); this.set(mainMode, extendedMode, silent);
}, },
pop: function() { pop: function ()
{
var a = modeStack.pop(); var a = modeStack.pop();
if (a) if (a)
[main, extended] = a; [main, extended] = a;