Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Commit

Permalink
Next version
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Quiroz <carlos.m.quiroz@gmail.com>
  • Loading branch information
cquiroz committed Aug 1, 2020
1 parent 04764b0 commit 39d93ef
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changes

## 0.9.3

* Upgrade to react-common 0.9.6
* Upgrade to scalajs-react 1.7.2

## 0.9.2

* Upgrade to react-common 0.9.4
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ lazy val facade =
)

lazy val commonSettings = Seq(
scalaVersion := "2.13.2",
scalaVersion := "2.13.3",
organization := "io.github.cquiroz.react",
sonatypeProfileName := "io.github.cquiroz",
description := "scala.js facade for react-virtualized",
Expand Down
2 changes: 1 addition & 1 deletion facade/src/main/scala/react/virtualized/AutoSizer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ object AutoSizer {
p.disableHeight = disableHeight
p.disableWidth = disableWidth
p.nonce = nonce
p.onResize = (s: Size) => onResize(s).runNow
p.onResize = (s: Size) => onResize(s).runNow()
p.children = (s: Size) => children(s).toRaw
p.style = style.map(Style.toJsObject).getOrElse(new js.Object())
p
Expand Down
2 changes: 1 addition & 1 deletion facade/src/main/scala/react/virtualized/Table.scala
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ object Table {
Style.fromJsObject(r.style)
).toRaw
p.id = id
p.noRowsRenderer = Some[RawNoRowsRenderer](() => noRowsRenderer.apply.rawNode).orUndefined
p.noRowsRenderer = Some[RawNoRowsRenderer](() => noRowsRenderer.apply().rawNode).orUndefined
p.onHeaderClick = (x: RawHeaderClickParam) => onHeaderClick(x.columnData, x.dataKey).runNow()
p.onRowClick = (x: RawIndexParameter) => onRowClick(x.index).runNow()
p.onRowDoubleClick = (x: RawIndexParameter) => onRowDoubleClick(x.index).runNow()
Expand Down
4 changes: 2 additions & 2 deletions facade/src/main/scala/react/virtualized/package.scala
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import react.common.EnumValue

package object virtualized {
implicit class TableJsMethodsOps(val m: virtualized.Table.JsMethods) extends AnyVal {
def forceUpdateGridCB: Callback = Callback(m.forceUpdateGrid)
def measureAllRowsCB: Callback = Callback(m.measureAllRows)
def forceUpdateGridCB: Callback = Callback(m.forceUpdateGrid())
def measureAllRowsCB: Callback = Callback(m.measureAllRows())
def recomputeRowHeightsCB(index: Int): Callback =
Callback(m.recomputeRowHeights(index))
def recomputeRowsHeightsCB(indexes: Int*): Callback =
Expand Down

0 comments on commit 39d93ef

Please sign in to comment.