Closed uyab closed 6 years ago
Blade
@pushonce('end:popup-jenis') <script> alert('once'); </script> @endpushonce
Parse error: syntax error, unexpected '='
Code generated:
<?php if(! isset($__env->__pushonce_end_popup-jenis)): $__env->__pushonce_end_popup-jenis = 1; $__env->startPush('end'); ?>
Fixed in 0.7.1
Hi!
The error also happens if the stack contains a dash, for example @pushonce ('pre-scripts:my-file') will break.
Would be great to be able to do so for readability :)
@fhusquinet fixed in 1.0
Blade
Parse error: syntax error, unexpected '='
Code generated: