diff --git a/.editorconfig b/.editorconfig index f45ea799778..c801fc2a0b5 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,4 +1,4 @@ -[*.js] +[*.{js,html}] indent_style = space indent_size = 4 trim_trailing_whitespace = true diff --git a/docs/_posts/examples/3400-01-19-using-featuresin.html b/docs/_posts/examples/3400-01-19-using-featuresin.html index c9f06f2bb3d..6943e8ea099 100644 --- a/docs/_posts/examples/3400-01-19-using-featuresin.html +++ b/docs/_posts/examples/3400-01-19-using-featuresin.html @@ -165,15 +165,15 @@ if (err) console.warn(err); if (features.length >= 1000) { - return window.alert('Select a smaller number of features'); + return window.alert('Select a smaller number of features'); } // Run through the selected features and set a filter // to match features with unique FIPS codes to activate // the `counties-highlighted` layer. var filter = features.reduce(function(memo, feature) { - memo.push(feature.properties.FIPS); - return memo; + memo.push(feature.properties.FIPS); + return memo; }, ['in', 'FIPS']); map.setFilter("counties-highlighted", filter);