We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 582c849 commit 9e219f1Copy full SHA for 9e219f1
src/moon_json/applications/css_prefix.cr
@@ -18,3 +18,23 @@
18
# -----------------------------------------------------------------------
19
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
+ bold "application object"
32
+ text "should be a string, but it's not:"
33
+ end
34
+
35
+ snippet snippet_data
36
37
38
39
40
+end
0 commit comments