<commit_before><%###
# Copyright (c) 2015, Upnext Technologies Sp. z o.o.
# All rights reserved.
#
# This source code is licensed under the BSD 3-Clause License found in the
# LICENSE.txt file in the root directory of this source tree. 
###%>

<% content_for :header_breadcrumbs do %>
  <span><%= link_to t('.title'), beacons_path %></span>
  <span>
    <%= @beacon.name %>
  </span>
<% end %>
<script>
  var beacon = {
    lng:<%= @beacon.lng %>,
    lat:<%= @beacon.lat %>
  }
mapObject = null;
micello.maps.init("rrVDMQe2qjBRuJP5dXv59kAeK77SD7",mapInit);
function  mapInit()  {
var  mapControl  =  new  micello.maps.MapControl('beacon-map');
window.mapDataObject  =  mapControl.getMapData();
mapObject = new micelloHelper(mapDataObject);
mapControl.onMapClick = onMapClicked;<commit_msg>adding map to beacon edit page<commit_after><%###
# Copyright (c) 2015, Upnext Technologies Sp. z o.o.
# All rights reserved.
#
# This source code is licensed under the BSD 3-Clause License found in the
# LICENSE.txt file in the root directory of this source tree. 
###%>

<% content_for :header_breadcrumbs do %>
  <span><%= link_to t('.title'), beacons_path %></span>
  <span>
    <%= @beacon.name %>
  </span>
<% end %>
<script>
  var beacon = {
    lng:<%= @beacon.lng %>,
    lat:<%= @beacon.lat %>
  }
var mapObject = null;
micello.maps.init("rrVDMQe2qjBRuJP5dXv59kAeK77SD7",mapInit);
function  mapInit()  {
var  mapControl  =  new  micello.maps.MapControl('beacon-map');
window.mapDataObject  =  mapControl.getMapData();
mapObject = new micelloHelper(mapDataObject);
mapControl.onMapClick = onMapClicked;
{'fraction_non_alphanumeric': 0.1524047470331043, 'fraction_numerical': 0.014990630855715179, 'mean_word_length': 4.393939393939394, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '101553', 'n_tokens_mistral': 622, 'n_tokens_neox': 581, 'n_words': 145}