From 28bd1ace24314d85a9218633aabc7f259b9159e5 Mon Sep 17 00:00:00 2001 From: Ryan McQuerry Date: Thu, 7 Mar 2024 12:14:41 -0500 Subject: [PATCH] Update MarkdownX.php --- src/MarkdownX.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/MarkdownX.php b/src/MarkdownX.php index 93cb468..1ce32f6 100644 --- a/src/MarkdownX.php +++ b/src/MarkdownX.php @@ -52,7 +52,7 @@ public function update($data) { $content = $data['content']; $this->content = $content; - $this->emitUp('markdown-x:update', $this->content); + $this->dispatch('markdown-x:update', $this->content); } /** @@ -62,7 +62,7 @@ public function update($data) */ public function updatedContent() { - $this->emitUp('markdown-x:update', $this->content); + $this->dispatch('markdown-x:update', $this->content); } /** @@ -212,7 +212,7 @@ public function sendResultsToView($response, $key) ); } - $this->dispatchBrowserEvent('markdown-x-giphy-results', [ + $this->dispatch('markdown-x-giphy-results', [ 'status' => 200, 'message' => 'Successfully returned results.', 'results' => $parse_giphy_results,