From c432bb80c71807d9f23dd410c304e7e653b9555b Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 3 Nov 2021 11:08:25 +0100 Subject: [PATCH] wip #4857 @0.5 --- src/app/Console/Commands/GenerateCommand.php | 2 +- src/resources/views/fields/code.blade.php | 16 +++++----------- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/src/app/Console/Commands/GenerateCommand.php b/src/app/Console/Commands/GenerateCommand.php index 7e43895..c171418 100644 --- a/src/app/Console/Commands/GenerateCommand.php +++ b/src/app/Console/Commands/GenerateCommand.php @@ -39,7 +39,7 @@ class GenerateCommand extends CubistMagicCommand //Artisan::call('cache:clear'); //Artisan::call('optimize'); - $this->executeProcess('composer dump-autoload'); + //$this->executeProcess('composer dump-autoload'); } protected function _writeRoutes() diff --git a/src/resources/views/fields/code.blade.php b/src/resources/views/fields/code.blade.php index a835e2a..ea196c3 100644 --- a/src/resources/views/fields/code.blade.php +++ b/src/resources/views/fields/code.blade.php @@ -35,17 +35,11 @@ @if ($crud->checkIfFieldIsFirstOfItsType($field)) @push('crud_fields_styles') - + @endpush @push('crud_fields_scripts') - - + + s + src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.63.3/mode/{{$dep}}/{{$dep}}.min.js"> @endforeach + src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.63.3/mode/{{$mode}}/{{$mode}}.min.js"> @endpush -- 2.39.5