Skip to content

Commit 9e3a4a7

Browse files
committed
Fix readme
1 parent 98a81d5 commit 9e3a4a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ or even
102102

103103
There is no real difference between them. The choice is up to you.
104104

105+
*Note: For Laravel 5.0.0 - 5.1.3 you have to use `{!! !!}` tags instead of `{{ }}`*
106+
105107
## Passing variables to widget
106108

107109
### Via config array
@@ -128,7 +130,7 @@ class RecentNews extends AbstractWidget {
128130
```
129131
`['count' => 10]` is a config array that can be accessed by $this->config.
130132

131-
Note: Config fields that are not specified when you call the widget aren't overwritten:
133+
*Note: Config fields that are not specified when you call the widget aren't overwritten:*
132134

133135
```php
134136
class RecentNews extends AbstractWidget {
@@ -190,8 +192,6 @@ You can pass FQCN too.
190192
{{ Widget::run('\App\Http\Some\Namespace\Widget', $config) }}
191193
```
192194

193-
*Note: For Laravel 5.0.0 - 5.1.3 you must use `{!! !!}` tags instead of `{{ }}`*
194-
195195
## Asynchronous widgets
196196

197197
In some situations it can be very beneficial to load widget content with AJAX.

0 commit comments

Comments
 (0)