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

Commit

Permalink
Merge pull request #45 from hdgarrood/ffi-fixes
Browse files Browse the repository at this point in the history
Various ffi fixes
  • Loading branch information
garyb committed Apr 6, 2016
2 parents 83183e6 + 0135a24 commit 6e06f0c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 47 deletions.
44 changes: 2 additions & 42 deletions src/DOM/HTML/HTMLInputElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ exports.setDisabled = function (disabled) {

// ----------------------------------------------------------------------------

exports.input = function (input) {
exports.form = function (input) {
return function () {
return input.input;
return input.form;
};
};

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

// ----------------------------------------------------------------------------

exports.length = function (input) {
return function () {
return input.length;
};
};

exports.setLength = function (length) {
return function (input) {
return function () {
input.length = length;
};
};
};

// ----------------------------------------------------------------------------

exports.selectedOptions = function (input) {
return function () {
return input.selectedOptions;
};
};

// ----------------------------------------------------------------------------

exports.selectedIndex = function (input) {
return function () {
return input.selectedIndex;
};
};

exports.setSelectedIndex = function (selectedIndex) {
return function (input) {
return function () {
input.selectedIndex = selectedIndex;
};
};
};

// ----------------------------------------------------------------------------

exports.value = function (input) {
return function () {
return input.value;
Expand Down
2 changes: 1 addition & 1 deletion src/DOM/HTML/HTMLMapElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ exports.name = function (map) {
};
};

exports.setDisabled = function (name) {
exports.setName = function (name) {
return function (map) {
return function () {
map.name = name;
Expand Down
4 changes: 2 additions & 2 deletions src/DOM/HTML/HTMLMeterElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ exports.high = function (meter) {
};
};

exports.setLow = function (high) {
exports.setHigh = function (high) {
return function (meter) {
return function () {
meter.high = high;
Expand All @@ -89,7 +89,7 @@ exports.optimum = function (meter) {
};
};

exports.setLow = function (optimum) {
exports.setOptimum = function (optimum) {
return function (meter) {
return function () {
meter.optimum = optimum;
Expand Down
2 changes: 1 addition & 1 deletion src/DOM/HTML/HTMLTableCellElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ exports.colSpan = function (cell) {
};
};

exports.setSpan = function (colSpan) {
exports.setColSpan = function (colSpan) {
return function (cell) {
return function () {
cell.colSpan = colSpan;
Expand Down
2 changes: 1 addition & 1 deletion src/DOM/Node/Node.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ exports.lookupNamespaceURI = function (ns) {
};
};

exports.lookupNamespaceURI = function (ns) {
exports.isDefaultNamespace = function (ns) {
return function (node) {
return function () {
return node.isDefaultNamespace(ns);
Expand Down

0 comments on commit 6e06f0c

Please sign in to comment.