1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 15:07:57 +01:00

More camel-casing.

isInstance -> isinstance as homage to instanceof.
This commit is contained in:
Doug Kearns
2010-09-24 16:19:50 +10:00
parent a06b571058
commit 904f3cb974
14 changed files with 36 additions and 36 deletions

View File

@@ -500,7 +500,7 @@ const Buffer = Module("buffer", {
let win = elem.ownerDocument && elem.ownerDocument.defaultView || elem;
win.dactylFocusAllowed = true;
if (isInstance(elem, [HTMLFrameElement, HTMLIFrameElement]))
if (isinstance(elem, [HTMLFrameElement, HTMLIFrameElement]))
elem.contentWindow.focus();
else if (elem instanceof HTMLInputElement && elem.type == "file") {
Buffer.openUploadPrompt(elem);
@@ -592,7 +592,7 @@ const Buffer = Module("buffer", {
let offsetX = 1;
let offsetY = 1;
if (isInstance(elem, [HTMLFrameElement, HTMLIFrameElement])) {
if (isinstance(elem, [HTMLFrameElement, HTMLIFrameElement])) {
buffer.focusElement(elem);
return;
}