1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-06 00:25:48 +01:00

Add missing semicolons.

This commit is contained in:
Doug Kearns
2009-06-02 16:56:28 +10:00
parent 95dffaf95a
commit 6d7b94daa6
17 changed files with 56 additions and 55 deletions

View File

@@ -223,7 +223,7 @@ function Finder() //{{{
var parent = before.parentNode;
aNode.appendChild(docfrag);
parent.insertBefore(aNode, before);
this.spans.push(aNode)
this.spans.push(aNode);
return aNode;
},
@@ -236,17 +236,17 @@ function Finder() //{{{
{
if (span.parentNode)
{
let el = span.firstChild
let el = span.firstChild;
while (el)
{
span.removeChild(el)
span.parentNode.insertBefore(el, span)
span.removeChild(el);
span.parentNode.insertBefore(el, span);
el = span.firstChild;
}
span.parentNode.removeChild(span);
}
})
this.spans = []
});
this.spans = [];
},
getSpans: function (doc) this.spans
@@ -318,7 +318,7 @@ function Finder() //{{{
let word = buffer.getCurrentWord();
// A hacky way to move after the current match before searching forwards
window.content.getSelection().getRangeAt(0).collapse(false);
finder.onSubmit(word, false)
finder.onSubmit(word, false);
});
mappings.add(myModes.concat([modes.CARET, modes.TEXTAREA]), ["#"],
@@ -329,7 +329,7 @@ function Finder() //{{{
let word = buffer.getCurrentWord();
// A hacky way to move before the current match before searching backwards
window.content.getSelection().getRangeAt(0).collapse(true);
finder.onSubmit(word, true)
finder.onSubmit(word, true);
});
/////////////////////////////////////////////////////////////////////////////}}}
@@ -519,7 +519,7 @@ function Finder() //{{{
*/
clear: function ()
{
highlightObj.clear()
highlightObj.clear();
}
};
//}}}