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>
@endsection
@section('pagescript')
@section('pageScript')
<script>
var tileUrl = '<?= $_ENV['LEAFLET_TILESERVER_URL'] ?>';
var tileAttribution = '<?= $_ENV['LEAFLET_TILESERVER_ATTRIBUTION'] ?>';

View File

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

View File

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