Skip to content

Commit

Permalink
Changed leaflet_helper.js to leafletHelper.js (#9186)
Browse files Browse the repository at this point in the history
* Changed leaflet_helper.js to leafletHelper.js  

Changed leaflet_helper.js to leafletHelper.js  in line 3 as per issue #9147

* Rename leaflet_helper.js to leafletHelper.js

* Update application.js
  • Loading branch information
redwan-mahmud committed Feb 15, 2021
1 parent abcb004 commit 30fb696
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/assets/javascripts/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
//= require users.js
//= require searchform.js
//= require tagging.js
//= require leaflet_helper
//= require leafletHelper
//= require grids.js
//= require graph.js
//= require simple-data-grapher.js
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,4 +163,4 @@
function peopleMap() {
peopleLayerParser(map, markers_hash);
}
}
}
4 changes: 2 additions & 2 deletions app/assets/javascripts/timeago.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Function by caiotarifa: https://gist.github.com/caiotarifa/30ae974f2293c761f3139dd194abd9e5
//
// using this function instead of distance_of_time_in_words in Ruby for the map popups calculation in leaflet_helper.js
// using this function instead of distance_of_time_in_words in Ruby for the map popups calculation in leafletHelper.js

var TimeAgo = (function() {
var self = {};
Expand Down Expand Up @@ -60,4 +60,4 @@ var TimeAgo = (function() {
};

return self;
}());
}());

0 comments on commit 30fb696

Please sign in to comment.