easyappointments/application/views/components/js_vars_script.php

9 lines
139 B
PHP

<?php
/**
* @var string $attributes
*/
?>
<script <?= $attributes ?>>
window.App.Vars = <?= json_encode(script_vars()) ?>
</script>