MAPG-180 rename pagescript to pageScript
This commit is contained in:
parent
18bf9aaade
commit
825e0744ec
@ -68,7 +68,7 @@
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('pagescript')
|
||||
@section('pageScript')
|
||||
<script>
|
||||
var tileUrl = '<?= $_ENV['LEAFLET_TILESERVER_URL'] ?>';
|
||||
var tileAttribution = '<?= $_ENV['LEAFLET_TILESERVER_ATTRIBUTION'] ?>';
|
||||
|
@ -48,7 +48,7 @@
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('pagescript')
|
||||
@section('pageScript')
|
||||
<script>
|
||||
var mapId = <?= $mapId ?>;
|
||||
var mapBounds = <?= json_encode($bounds) ?>;
|
||||
|
@ -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) : ?>
|
||||
|
Loading…
Reference in New Issue
Block a user