summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--resources/views/player.blade.php3
-rw-r--r--src/Http/Controllers/ScormPlayerController.php1
2 files changed, 3 insertions, 1 deletions
diff --git a/resources/views/player.blade.php b/resources/views/player.blade.php
index 7970cea..fab87fa 100644
--- a/resources/views/player.blade.php
+++ b/resources/views/player.blade.php
@@ -1,3 +1,6 @@
+@php
+use Illuminate\Support\Js;
+@endphp
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
diff --git a/src/Http/Controllers/ScormPlayerController.php b/src/Http/Controllers/ScormPlayerController.php
index 7b14860..179e78f 100644
--- a/src/Http/Controllers/ScormPlayerController.php
+++ b/src/Http/Controllers/ScormPlayerController.php
@@ -13,7 +13,6 @@ use Illuminate\Support\Facades\Storage;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Str;
-use Illuminate\Support\Js;
use Illuminate\Http\Request;
use Illuminate\Http\Testing\MimeType;