File tree Expand file tree Collapse file tree 2 files changed +13
-10
lines changed Expand file tree Collapse file tree 2 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 11name = " HTML_Entities"
2- desc = " Entities from HTML data tables"
3- authors = [" ScottPJones <scottjones@alum.mit.edu>" ]
2+ uuid = " 7693890a-d069-55fe-a829-b4a6d304f0ee"
43keywords = [" Entities" , " HTML" ]
54license = " MIT"
6- uuid = " 7693890a-d069-55fe-a829-b4a6d304f0ee"
5+ desc = " Entities from HTML data tables"
6+ authors = [" ScottPJones <scottjones@alum.mit.edu>" ]
77version = " 1.0.1"
88
99[deps ]
10+ RelocatableFolders = " 05181044-ff0b-4ac5-8273-598c1e38db00"
1011StrTables = " 9700d1a9-a7c8-5760-9816-a99fda30bb8f"
1112
13+ [compat ]
14+ RelocatableFolders = " 1"
15+ StrTables = " 1"
16+ julia = " 1"
17+
1218[extras ]
1319Test = " 8dfed614-e22c-5e08-85e1-65c5234f0b40"
1420
1521[targets ]
1622test = [" Test" ]
17-
18- [compat ]
19- julia = " 1"
20- StrTables = " 1"
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ __precompile__()
88* completions(str)
99"""
1010module HTML_Entities
11- using StrTables
11+ using StrTables, RelocatableFolders
1212
1313VER = UInt32 (1 )
1414
@@ -28,9 +28,10 @@ struct HTML_Table{T} <: AbstractEntityTable
2828 ind2c:: Vector{UInt16}
2929end
3030
31+ const DATA_PATH = @path joinpath (@__DIR__ , " ../data" , " html.dat" )
32+
3133function __init__ ()
32- global default =
33- HTML_Table (StrTables. load (joinpath (@__DIR__ , " ../data" , " html.dat" ))... )
34+ global default = HTML_Table (StrTables. load (DATA_PATH)... )
3435 nothing
3536end
3637end # module HTML_Entities
You can’t perform that action at this time.
0 commit comments