Skip to content

Commit 5627b54

Browse files
committed
moon_json: applications[css_prefix]
1 parent 9827f96 commit 5627b54

File tree

1 file changed

+19
-15
lines changed

1 file changed

+19
-15
lines changed

src/moon_json/applications/css_prefix.cr

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,24 @@
1717
# Copyright (C) 2025 Krisna Pranav, MoonScript Developers
1818
# -----------------------------------------------------------------------
1919

20-
module MoonScript
21-
class MoonJson
22-
class Parser
23-
def parse_application_css_prefix: String
24-
@parser.read_string
25-
rescue JSON::ParseException
26-
error! :application_css_prefix_invalid do
27-
block do
28-
text "The"
29-
bold "css-prefix field"
30-
text "of the"
31-
text "should be string!"
32-
end
33-
end
20+
module Mint
21+
class MintJson
22+
class Parser
23+
def parse_application_css_prefix : String
24+
@parser.read_string
25+
rescue JSON::ParseException
26+
error! :application_css_prefix_invalid do
27+
block do
28+
text "The"
29+
bold "css-prefix field"
30+
text "of the"
31+
bold "application object"
32+
text "should be a string!"
33+
end
34+
35+
snippet snippet_data
3436
end
37+
end
3538
end
36-
end
39+
end
40+
end

0 commit comments

Comments
 (0)