From 06a81527dfdc4219e89936c425ce9183f7cb2615 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Sun, 16 Oct 2016 08:09:24 +0000 Subject: [PATCH 1/3] spelling: choropleth --- choropleth.install | 4 ++-- static/recline.view.ChoroplethMap.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/choropleth.install b/choropleth.install index 5db281b..3226c9c 100644 --- a/choropleth.install +++ b/choropleth.install @@ -65,7 +65,7 @@ function choropleth_udpate_existing_fields() { } /** - * Add cholorpleth columns to existing recline field storage. + * Add choropleth columns to existing recline field storage. */ function choropleth_update_7001(&$sandbox) { $ret = array(); @@ -74,7 +74,7 @@ function choropleth_update_7001(&$sandbox) { } /** - * Add cholorpleth color scale column to existing recline field storage. + * Add choropleth color scale column to existing recline field storage. */ function choropleth_update_7002(&$sandbox) { $ret = array(); diff --git a/static/recline.view.ChoroplethMap.js b/static/recline.view.ChoroplethMap.js index 311ecda..b4d494b 100644 --- a/static/recline.view.ChoroplethMap.js +++ b/static/recline.view.ChoroplethMap.js @@ -874,7 +874,7 @@ this.recline.View = this.recline.View || {}; {{{filter_by_category}}} \ {{{filter_by_year}}} \ \ - \ + \ \ \
\ From 6cc7aae25ee4d9d7d00429763dd2fb14f6d03022 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Sun, 16 Oct 2016 08:22:29 +0000 Subject: [PATCH 2/3] spelling: contiguous --- choropleth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/choropleth.js b/choropleth.js index a8cc987..b838309 100644 --- a/choropleth.js +++ b/choropleth.js @@ -85,7 +85,7 @@ set_map_type('states'); set_map_label('State'); polygons = Drupal.settings.choropleth.statesData; - // Set to contigous USA. + // Set to contiguous USA. location_default.lat = 51.25; location_default.lon = -110; location_default.zoom = 3; From 5051d866e1cc3729e48cd2b503fabd1d7e443f01 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Sun, 16 Oct 2016 08:23:26 +0000 Subject: [PATCH 3/3] spelling: update --- choropleth.install | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/choropleth.install b/choropleth.install index 3226c9c..bcf3540 100644 --- a/choropleth.install +++ b/choropleth.install @@ -9,13 +9,13 @@ * Implements hook_install(). */ function choropleth_install() { - choropleth_udpate_existing_fields(); + choropleth_update_existing_fields(); } /** * Checks for current implementations of recline and adds additional columns. */ -function choropleth_udpate_existing_fields() { +function choropleth_update_existing_fields() { $fields = field_info_fields(); foreach ($fields as $field_name => $field) { if ($field['type'] == 'recline_field' && $field['storage']['type'] == 'field_sql_storage') { @@ -69,7 +69,7 @@ function choropleth_udpate_existing_fields() { */ function choropleth_update_7001(&$sandbox) { $ret = array(); - choropleth_udpate_existing_fields(); + choropleth_update_existing_fields(); return $ret; } @@ -78,7 +78,7 @@ function choropleth_update_7001(&$sandbox) { */ function choropleth_update_7002(&$sandbox) { $ret = array(); - choropleth_udpate_existing_fields(); + choropleth_update_existing_fields(); return $ret; } @@ -87,6 +87,6 @@ function choropleth_update_7002(&$sandbox) { */ function choropleth_update_7003(&$sandbox) { $ret = array(); - choropleth_udpate_existing_fields(); + choropleth_update_existing_fields(); return $ret; }