Skip to content
This repository has been archived by the owner on Dec 28, 2021. It is now read-only.

Commit

Permalink
style: Run prettier.
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelMauderer committed Feb 5, 2021
1 parent 3b81a6d commit 6def6f2
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ class TableVisualization extends Visualization {
static label = 'Table'

onDataReceived(data) {
if (!this.isInit){
this.setPreprocessor('x -> (Json.from_pairs [["header", x.columns.map .name], ["data", x.columns.map .to_vector . map (x -> x.take_start 2000) ]]).to_text ')
if (!this.isInit) {
this.setPreprocessor(
'x -> (Json.from_pairs [["header", x.columns.map .name], ["data", x.columns.map .to_vector . map (x -> x.take_start 2000) ]]).to_text '
)
this.isInit = true
}

Expand Down

0 comments on commit 6def6f2

Please sign in to comment.