Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 4876 | Rev 4879 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 4876 Rev 4877
Línea 2... Línea 2...
2
 
2
 
Línea 3... Línea 3...
3
use LeadersLinked\Library\Functions;
3
use LeadersLinked\Library\Functions;
4
 
4
 
-
 
5
$currentNetworkHelper = $this->currentNetworkHelper();
Línea 5... Línea 6...
5
$currentNetworkHelper = $this->currentNetworkHelper();
6
$currentNetwork = $currentNetworkHelper->getNetwork();
6
$currentNetwork = $currentNetworkHelper->getNetwork();
7
$defaultNetwork = $currentNetwork->default;
Línea 7... Línea 8...
7
 
8
 
Línea 20... Línea 21...
20
$js = <<<JS
21
$js = <<<JS
21
const contacts = $contactsJson;
22
const contacts = $contactsJson;
22
const emojione_image_path_png = "$emojione_image_path_png";
23
const emojione_image_path_png = "$emojione_image_path_png";
23
const timezones = $timezones;
24
const timezones = $timezones;
24
const timezone = '$timezone';
25
const timezone = '$timezone';
-
 
26
const defaultNetwork = $defaultNetwork === 'y';
25
JS;
27
JS;
Línea 26... Línea 28...
26
 
28
 
27
$this->inlineScript()->appendScript($js);
29
$this->inlineScript()->appendScript($js);
28
$this->inlineScript()->appendFile('/react-bundles/chat/chatBundle.js');
30
$this->inlineScript()->appendFile('/react-bundles/chat/chatBundle.js');