Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 11490 | Rev 15477 | Ir a la última revisión | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
11583 nelberth 1
<?php
11351 nelberth 2
$emojione_image_path_png  = $this->basePath('vendors/smiley/assets/png/');
11583 nelberth 3
$contactsJson = json_encode($contacts);
4
$js = <<<JS
5
const contacts = JSON.parse('$contactsJson');
6
const emojione_image_path_png = "$emojione_image_path_png";
7
JS;
8
$this->inlineScript()->appendScript($js);
9
$this->inlineScript()->appendFile('/react-bundles/chat/chatBundle.js');
11351 nelberth 10
?>
11
 
11583 nelberth 12
<!-- $is_chat  -->
13
<div id="react-chat"></div>