Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

Commit 6e06f0c

Browse files
committed
Merge pull request #45 from hdgarrood/ffi-fixes
Various ffi fixes
2 parents 83183e6 + 0135a24 commit 6e06f0c

File tree

5 files changed

+7
-47
lines changed

5 files changed

+7
-47
lines changed

src/DOM/HTML/HTMLInputElement.js

Lines changed: 2 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ exports.setDisabled = function (disabled) {
131131

132132
// ----------------------------------------------------------------------------
133133

134-
exports.input = function (input) {
134+
exports.form = function (input) {
135135
return function () {
136-
return input.input;
136+
return input.form;
137137
};
138138
};
139139

@@ -591,46 +591,6 @@ exports["stepDown'"] = function (n) {
591591

592592
// ----------------------------------------------------------------------------
593593

594-
exports.length = function (input) {
595-
return function () {
596-
return input.length;
597-
};
598-
};
599-
600-
exports.setLength = function (length) {
601-
return function (input) {
602-
return function () {
603-
input.length = length;
604-
};
605-
};
606-
};
607-
608-
// ----------------------------------------------------------------------------
609-
610-
exports.selectedOptions = function (input) {
611-
return function () {
612-
return input.selectedOptions;
613-
};
614-
};
615-
616-
// ----------------------------------------------------------------------------
617-
618-
exports.selectedIndex = function (input) {
619-
return function () {
620-
return input.selectedIndex;
621-
};
622-
};
623-
624-
exports.setSelectedIndex = function (selectedIndex) {
625-
return function (input) {
626-
return function () {
627-
input.selectedIndex = selectedIndex;
628-
};
629-
};
630-
};
631-
632-
// ----------------------------------------------------------------------------
633-
634594
exports.value = function (input) {
635595
return function () {
636596
return input.value;

src/DOM/HTML/HTMLMapElement.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ exports.name = function (map) {
99
};
1010
};
1111

12-
exports.setDisabled = function (name) {
12+
exports.setName = function (name) {
1313
return function (map) {
1414
return function () {
1515
map.name = name;

src/DOM/HTML/HTMLMeterElement.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ exports.high = function (meter) {
7373
};
7474
};
7575

76-
exports.setLow = function (high) {
76+
exports.setHigh = function (high) {
7777
return function (meter) {
7878
return function () {
7979
meter.high = high;
@@ -89,7 +89,7 @@ exports.optimum = function (meter) {
8989
};
9090
};
9191

92-
exports.setLow = function (optimum) {
92+
exports.setOptimum = function (optimum) {
9393
return function (meter) {
9494
return function () {
9595
meter.optimum = optimum;

src/DOM/HTML/HTMLTableCellElement.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ exports.colSpan = function (cell) {
99
};
1010
};
1111

12-
exports.setSpan = function (colSpan) {
12+
exports.setColSpan = function (colSpan) {
1313
return function (cell) {
1414
return function () {
1515
cell.colSpan = colSpan;

src/DOM/Node/Node.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ exports.lookupNamespaceURI = function (ns) {
124124
};
125125
};
126126

127-
exports.lookupNamespaceURI = function (ns) {
127+
exports.isDefaultNamespace = function (ns) {
128128
return function (node) {
129129
return function () {
130130
return node.isDefaultNamespace(ns);

0 commit comments

Comments
 (0)