From cdb097cb83548fee0778d4040dd35fc2dd0f3464 Mon Sep 17 00:00:00 2001 From: Jakub Hampl Date: Mon, 20 May 2019 15:11:57 +0100 Subject: Upgrades to mapbox 54 --- generate-elm.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'generate-elm.js') 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" -- cgit v1.2.3