MAPG-180 rename pagescript to pageScript

This commit is contained in:
Bence Pőcze 2020-06-27 12:16:50 +02:00
parent 18bf9aaade
commit 825e0744ec
Signed by: bence
GPG Key ID: AA52B11A3269D1C1
3 changed files with 3 additions and 3 deletions

View File

@ -68,7 +68,7 @@
</div> </div>
@endsection @endsection
@section('pagescript') @section('pageScript')
<script> <script>
var tileUrl = '<?= $_ENV['LEAFLET_TILESERVER_URL'] ?>'; var tileUrl = '<?= $_ENV['LEAFLET_TILESERVER_URL'] ?>';
var tileAttribution = '<?= $_ENV['LEAFLET_TILESERVER_ATTRIBUTION'] ?>'; var tileAttribution = '<?= $_ENV['LEAFLET_TILESERVER_ATTRIBUTION'] ?>';

View File

@ -48,7 +48,7 @@
</div> </div>
@endsection @endsection
@section('pagescript') @section('pageScript')
<script> <script>
var mapId = <?= $mapId ?>; var mapId = <?= $mapId ?>;
var mapBounds = <?= json_encode($bounds) ?>; var mapBounds = <?= json_encode($bounds) ?>;

View File

@ -51,7 +51,7 @@
const GOOGLE_ANALITICS_ID = '<?= $_ENV['GOOGLE_ANALITICS_ID'] ?>'; const GOOGLE_ANALITICS_ID = '<?= $_ENV['GOOGLE_ANALITICS_ID'] ?>';
<?php endif; ?> <?php endif; ?>
</script> </script>
@yields('pagescript') @yields('pageScript')
<script src="<?= $_ENV['STATIC_ROOT'] ?>/js/mapguesser.js?rev=<?= REVISION ?>"></script> <script src="<?= $_ENV['STATIC_ROOT'] ?>/js/mapguesser.js?rev=<?= REVISION ?>"></script>
<?php if (isset($jsFiles)) : ?> <?php if (isset($jsFiles)) : ?>
<?php foreach ($jsFiles as $jsFile) : ?> <?php foreach ($jsFiles as $jsFile) : ?>