We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea603b8 commit 04675dbCopy full SHA for 04675db
lib/json/ld/context.rb
@@ -5,13 +5,6 @@
5
require 'set'
6
require 'rdf/util/cache'
7
8
-begin
9
- # Attempt to load this to avoid unnecessary context fetches
10
- require 'json/ld/preloaded'
11
-rescue LoadError
12
- # Silently allow this to fail
13
-end
14
-
15
module JSON::LD
16
class Context
17
include Utils
@@ -50,6 +43,13 @@ def alias_preloaded(a, url)
50
43
end
51
44
52
45
46
+ begin
47
+ # Attempt to load this to avoid unnecessary context fetches
48
+ require 'json/ld/preloaded'
49
+ rescue LoadError
+ # Silently allow this to fail
+ end
+
53
# The base.
54
#
55
# @return [RDF::URI] Current base IRI, used for expanding relative IRIs.
0 commit comments