MAPG-180 rename pagescript to pageScript

This commit is contained in:
bence committed 2020-06-27 12:47:13 +02:00
1 parent 18bf9aaade
commit 825e0744ec
3 files changed
+3 -3

No files matched your search

+1 -1
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'] ?>';
+1 -1
View File
@@ -48,7 +48,7 @@
</div>
@endsection
@section('pagescript')
@section('pageScript')
<script>
var mapId = <?= $mapId ?>;
var mapBounds = <?= json_encode($bounds) ?>;
+1 -1
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) : ?>