diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2018-07-30 08:38:14 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2018-08-13 12:39:44 -0700 |
commit | b2f60a4bf2fb95c107bb94543ba6345779970e98 (patch) | |
tree | 2fd85df5cf2121b9a55d24c9d6e331b9e1bb4aca /scripts/generate-style-code.js | |
parent | 3c8acb228e0ff1124ce8ca6c710dc46cf99d87fc (diff) | |
download | qtlocation-mapboxgl-b2f60a4bf2fb95c107bb94543ba6345779970e98.tar.gz |
[core] Eliminate setProperty & co.
Diffstat (limited to 'scripts/generate-style-code.js')
-rwxr-xr-x | scripts/generate-style-code.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/generate-style-code.js b/scripts/generate-style-code.js index db37a9b96f..9a7b2842f7 100755 --- a/scripts/generate-style-code.js +++ b/scripts/generate-style-code.js @@ -192,9 +192,6 @@ for (const layer of layers) { writeIfModified(`src/mbgl/style/layers/${layerFileName}_layer_properties.cpp`, propertiesCpp(layer)); } -const propertySettersHpp = ejs.compile(fs.readFileSync('src/mbgl/style/conversion/make_property_setters.hpp.ejs', 'utf8'), {strict: true}); -writeIfModified('src/mbgl/style/conversion/make_property_setters.hpp', propertySettersHpp({layers: layers})); - // Light const lightProperties = Object.keys(spec[`light`]).reduce((memo, name) => { var property = spec[`light`][name]; |