Skip to content

Commit e396d1c

Browse files
committed
remove assetregistry dep
1 parent 7234810 commit e396d1c

File tree

4 files changed

+3
-22
lines changed

4 files changed

+3
-22
lines changed

REQUIRE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@ JSON
66
TableTraits
77
IteratorInterfaceExtensions
88
Observables
9-
AssetRegistry

deps/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
ag-grid
2+
build.log

deps/build.log

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/TableView.jl

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,13 @@ module TableView
22
using Tables, TableTraits, IteratorInterfaceExtensions
33
using WebIO, JSExpr, JSON, Dates
44
using Observables: @map
5-
using AssetRegistry
65

76
const ag_grid_imports = []
87

98
function __init__()
109
empty!(ag_grid_imports)
1110
for f in ["ag-grid.js", "ag-grid.css", "ag-grid-light.css", "ag-grid-dark.css"]
12-
path = normpath(joinpath(@__DIR__, "..", "deps", "ag-grid", f))
13-
AssetRegistry.register(path)
14-
push!(ag_grid_imports, path)
11+
push!(ag_grid_imports, normpath(joinpath(@__DIR__, "..", "deps", "ag-grid", f)))
1512
end
1613
end
1714

@@ -41,7 +38,7 @@ function _showtable(table, dark)
4138
names = schema.names
4239
types = schema.types
4340
end
44-
w = Scope(imports=ag_grid_imports)
41+
w = Scope(imports = ag_grid_imports)
4542

4643
coldefs = [(
4744
headerName = n,

0 commit comments

Comments
 (0)