From 7550b71f392baecf8fee16d05f6c52decb751396 Mon Sep 17 00:00:00 2001 From: Aristides Neto Date: Wed, 4 Oct 2017 00:04:47 -0300 Subject: [PATCH] Adicionado helper asset() para linkar os arquivos JS e CSS --- src/Notify.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Notify.php b/src/Notify.php index 788ab7f..ceda117 100644 --- a/src/Notify.php +++ b/src/Notify.php @@ -114,24 +114,24 @@ public function render() { */ public function scripts() { - $scripts = ' + $scripts = ' - '; + '; if ($this->options['lib'] === 'toastr'): - $scripts .= ' - '; + $scripts .= ' + '; elseif ($this->options['lib'] === 'pnotify'): - $scripts .= ' - - '; + $scripts .= ' + + '; if ($this->config['desktop']['desktop'] === true): $scripts .= 'PNotify.desktop.permission();'; endif; endif; if ($this->options['style'] === 'custom'): - $scripts .= ''; + $scripts .= ''; endif; return $scripts;