Skip to content

Commit

Permalink
updated js dependencies and fixed performance problems
Browse files Browse the repository at this point in the history
  • Loading branch information
pfgherardini committed Jul 5, 2018
1 parent 9b259d9 commit bd44d55
Show file tree
Hide file tree
Showing 9 changed files with 47 additions and 23 deletions.
7 changes: 5 additions & 2 deletions inst/shinyGUI/app.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@

ui <- navbarPage("SCAFFoLD",
header = list(tags$head(tags$script(src = "d3.min.js")),
tags$head(tags$script(src = "https://cdnjs.cloudflare.com/ajax/libs/pixi.js/4.7.1/pixi.js")),
header = list(tags$head(tags$script(src = "d3-scale.min.js")),
tags$head(tags$script(src = "d3-interpolate.min.js")),
tags$head(tags$script(src = "d3-array.min.js")),
tags$head(tags$script(src = "d3-color.min.js")),
tags$head(tags$script(src = "pixi.min.js")),
tags$head(tags$script(src = "pixigraph.js")),
tags$head(tags$script(src = "shinyoutputbindings.js")),
singleton(tags$head(tags$link(rel = 'stylesheet', type = 'text/css', href = 'graph.css')))
Expand Down
9 changes: 0 additions & 9 deletions inst/shinyGUI/server/tab_graph.R
Original file line number Diff line number Diff line change
Expand Up @@ -357,15 +357,6 @@ observeEvent(input$graphui_toggle_cluster_labels, {
}
)


#output$graphui_plot_title = renderPrint({
# if(!is.null(input$graphui_selected_cluster) && input$graphui_selected_cluster != "")
# sprintf("Plotting cluster %s", input$graphui_selected_cluster)
#})




observe({
if(!is.null(input$graphui_reset_colors) && input$graphui_reset_colors != 0)
{
Expand Down
2 changes: 2 additions & 0 deletions inst/shinyGUI/www/d3-array.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions inst/shinyGUI/www/d3-color.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bd44d55

Please sign in to comment.