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 #57 from purescript-contrib/56
Browse files Browse the repository at this point in the history
Fix FFI argument order for HTMLTableSectionElement
  • Loading branch information
garyb authored Aug 2, 2016
2 parents e3240c8 + 38cd7d5 commit 319bf89
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/DOM/HTML/HTMLTableElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ exports.rows = function (table) {

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

exports["insertRow'"] = function (table) {
return function (index) {
exports["insertRow'"] = function (index) {
return function (table) {
return function () {
return table.insertRow(index);
};
Expand All @@ -130,8 +130,8 @@ exports["insertRow'"] = function (table) {

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

exports.deleteRow = function (table) {
return function (index) {
exports.deleteRow = function (index) {
return function (table) {
return function () {
table.deleteRow(index);
};
Expand Down
8 changes: 4 additions & 4 deletions src/DOM/HTML/HTMLTableSectionElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ exports.rows = function (section) {

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

exports["insertRow'"] = function (section) {
return function (index) {
exports["insertRow'"] = function (index) {
return function (section) {
return function () {
return section.insertRow(index);
};
Expand All @@ -18,8 +18,8 @@ exports["insertRow'"] = function (section) {

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

exports.deleteRow = function (section) {
return function (index) {
exports.deleteRow = function (index) {
return function (section) {
return function () {
section.deleteRow(index);
};
Expand Down

0 comments on commit 319bf89

Please sign in to comment.