Commit 5ffa74d1 authored by Camil Staps's avatar Camil Staps 🍃

Add fields bootstrap and requires_itask_compiler to SyntaxExample

parent 86e6f2af
...@@ -200,6 +200,8 @@ from Text.GenJSON import generic JSONEncode, generic JSONDecode, :: JSONNode ...@@ -200,6 +200,8 @@ from Text.GenJSON import generic JSONEncode, generic JSONDecode, :: JSONNode
:: SyntaxExample = :: SyntaxExample =
{ example :: String //* The actual code { example :: String //* The actual code
, cleanjs_start :: Maybe String //* The state in which clean.js should start highlighting , cleanjs_start :: Maybe String //* The state in which clean.js should start highlighting
, bootstrap :: [String] //* Imports and other bootstrapping code required for this example
, requires_itask_compiler :: Bool //* Whether this example requires the iTask compiler
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment