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

Commit 38cd7d5

Browse files
committed
Fix FFI argument order for HTMLTableElement
1 parent eeef051 commit 38cd7d5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/DOM/HTML/HTMLTableElement.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ exports.rows = function (table) {
120120

121121
// ----------------------------------------------------------------------------
122122

123-
exports["insertRow'"] = function (table) {
124-
return function (index) {
123+
exports["insertRow'"] = function (index) {
124+
return function (table) {
125125
return function () {
126126
return table.insertRow(index);
127127
};
@@ -130,8 +130,8 @@ exports["insertRow'"] = function (table) {
130130

131131
// ----------------------------------------------------------------------------
132132

133-
exports.deleteRow = function (table) {
134-
return function (index) {
133+
exports.deleteRow = function (index) {
134+
return function (table) {
135135
return function () {
136136
table.deleteRow(index);
137137
};

0 commit comments

Comments
 (0)