Skip to content

Commit

Permalink
Merge pull request #91 from baumgold/upgrade-ag-grid
Browse files Browse the repository at this point in the history
upgrade ag-grid version
  • Loading branch information
pfitzseb authored Jul 1, 2024
2 parents 3e5d219 + 277e52a commit 72703db
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion ag-grid.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
25.2.0
30.0.2
9 changes: 3 additions & 6 deletions deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ ag_grid_base = joinpath(@__DIR__, "ag-grid-$(version)", "ag-grid.js")
isfile(ag_grid_base) || download("https://cdn.jsdelivr.net/npm/ag-grid-$(distribution)@$(version)/dist/ag-grid-$(distribution).min.noStyle.js", ag_grid_base)

ag_grid_base_style = joinpath(@__DIR__, "ag-grid-$(version)", "ag-grid.css")
isfile(ag_grid_base_style) || download("https://cdn.jsdelivr.net/npm/ag-grid-$(distribution)@$(version)/dist/styles/ag-grid.css", ag_grid_base_style)
isfile(ag_grid_base_style) || download("https://cdn.jsdelivr.net/npm/ag-grid-$(distribution)@$(version)/styles/ag-grid.css", ag_grid_base_style)

ag_grid_light = joinpath(@__DIR__, "ag-grid-$(version)", "ag-grid-light.css")
isfile(ag_grid_light) || download("https://cdn.jsdelivr.net/npm/ag-grid-$(distribution)@$(version)/dist/styles/ag-theme-balham.css", ag_grid_light)

ag_grid_dark = joinpath(@__DIR__, "ag-grid-$(version)", "ag-grid-dark.css")
isfile(ag_grid_dark) || download("https://cdn.jsdelivr.net/npm/ag-grid-$(distribution)@$(version)/dist/styles/ag-theme-balham-dark.css", ag_grid_dark)
ag_grid_light = joinpath(@__DIR__, "ag-grid-$(version)", "ag-theme-balham.css")
isfile(ag_grid_light) || download("https://cdn.jsdelivr.net/npm/ag-grid-$(distribution)@$(version)/styles/ag-theme-balham.css", ag_grid_light)
2 changes: 1 addition & 1 deletion src/TableView.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const ag_grid_imports = []
function __init__()
version = readchomp(joinpath(@__DIR__, "..", "ag-grid.version"))
empty!(ag_grid_imports)
for f in ["ag-grid.js", "ag-grid.css", "ag-grid-light.css", "ag-grid-dark.css"]
for f in ["ag-grid.js", "ag-grid.css", "ag-theme-balham.css"]
push!(ag_grid_imports, normpath(joinpath(@__DIR__, "..", "deps", "ag-grid-$(version)", f)))
end
pushfirst!(ag_grid_imports, normpath(joinpath(@__DIR__, "rowNumberRenderer.js")))
Expand Down

0 comments on commit 72703db

Please sign in to comment.