Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork69
[3.0] Moving callback condition to config#54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
src/Html/Builder.php Outdated
| protectedfunctionisCallbackFunction($value,$key) | ||
| { | ||
| return Str::startsWith(trim($value), ['$','$.','function']) || Str::contains($key,'editor'); | ||
| return Str::startsWith(trim($value),config('datatables-html.callback',['$','$.','function'])) || Str::contains($key,'editor'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Maybe we can use the config property instead since we already injected it?
$this->config->get('datatables-html.callback', ['$', '$.', 'function'])lk77 commentedJan 10, 2018
yes, sorry, the config helper call don't even worked, my bad, thanks. |
yajra commentedJan 11, 2018
Released on v3.5.2, thanks a lot 👍 |
Hello,
i have moved the callback condition to config.
see#53 and#49
thanks.