Skip to content

Commit

Permalink
Implement factory method systax (publiclab#942)
Browse files Browse the repository at this point in the history
- Delete unnecessary 'new' keyboard
- Fix for methods name
  • Loading branch information
Manokero authored and chen-robert committed Dec 5, 2019
1 parent 9322f5e commit a2a0393
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/maps/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@
$(function(){
$("#loginModal").appendTo("body");
});
var bounds = new L.LatLngBounds(new L.LatLng(84.67351257 , -172.96875) , new L.LatLng(-54.36775852 , 178.59375)) ;
var Mapknitterunique = new L.map('mapknitter-unique' , {
var bounds = L.latLngBounds(L.latLng(84.67351257 , -172.96875) , L.latLng(-54.36775852 , 178.59375)) ;
var Mapknitterunique = L.map('mapknitter-unique' , {
maxBounds: bounds ,
maxBoundsViscosity: 0.75
}).setView([43, -83] , 2);
Expand Down

0 comments on commit a2a0393

Please sign in to comment.