diff options
Diffstat (limited to 'generate-elm.js')
-rw-r--r-- | generate-elm.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generate-elm.js b/generate-elm.js index 1d1a712..181c4c1 100644 --- a/generate-elm.js +++ b/generate-elm.js @@ -59,7 +59,7 @@ Paint properties are applied later in the rendering process. Changes to a paint ${Object.keys(docs) .map( (section) => - `- [${section} Attributes](#${section.toLowerCase()}-attibutes)` + `- [${section} Attributes](#${section.toLowerCase()}-attributes)` ) .join("\n")} @@ -297,6 +297,7 @@ function generateElmProperty(name, prop, layerType, position) { throw "Constant property type not supported"; const elmName = camelCase(name); const exprKind = + prop["sdk-support"] && prop["sdk-support"]["data-driven styling"] && prop["sdk-support"]["data-driven styling"].js ? "any" |