File tree 2 files changed +13
-10
lines changed
2 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 1
1
name = " HTML_Entities"
2
- desc = " Entities from HTML data tables"
3
- authors = [" ScottPJones <scottjones@alum.mit.edu>" ]
2
+ uuid = " 7693890a-d069-55fe-a829-b4a6d304f0ee"
4
3
keywords = [" Entities" , " HTML" ]
5
4
license = " MIT"
6
- uuid = " 7693890a-d069-55fe-a829-b4a6d304f0ee"
5
+ desc = " Entities from HTML data tables"
6
+ authors = [" ScottPJones <scottjones@alum.mit.edu>" ]
7
7
version = " 1.0.1"
8
8
9
9
[deps ]
10
+ RelocatableFolders = " 05181044-ff0b-4ac5-8273-598c1e38db00"
10
11
StrTables = " 9700d1a9-a7c8-5760-9816-a99fda30bb8f"
11
12
13
+ [compat ]
14
+ RelocatableFolders = " 1"
15
+ StrTables = " 1"
16
+ julia = " 1"
17
+
12
18
[extras ]
13
19
Test = " 8dfed614-e22c-5e08-85e1-65c5234f0b40"
14
20
15
21
[targets ]
16
22
test = [" 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__()
8
8
* completions(str)
9
9
"""
10
10
module HTML_Entities
11
- using StrTables
11
+ using StrTables, RelocatableFolders
12
12
13
13
VER = UInt32 (1 )
14
14
@@ -28,9 +28,10 @@ struct HTML_Table{T} <: AbstractEntityTable
28
28
ind2c:: Vector{UInt16}
29
29
end
30
30
31
+ const DATA_PATH = @path joinpath (@__DIR__ , " ../data" , " html.dat" )
32
+
31
33
function __init__ ()
32
- global default =
33
- HTML_Table (StrTables. load (joinpath (@__DIR__ , " ../data" , " html.dat" ))... )
34
+ global default = HTML_Table (StrTables. load (DATA_PATH)... )
34
35
nothing
35
36
end
36
37
end # module HTML_Entities
You can’t perform that action at this time.
0 commit comments