Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit34a7726

Browse files
authored
Merge pull requestyajra#52 from yajra/patch-js
[3.0] Allow jQuery functions callback.
2 parentsaf7364e +2e620be commit34a7726

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Html/Builder.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public function parameterize($attributes = [])
161161
*/
162162
protectedfunctionisCallbackFunction($value,$key)
163163
{
164-
return Str::startsWith(trim($value),'function') || Str::contains($key,'editor');
164+
return Str::startsWith(trim($value),['$','$.','function']) || Str::contains($key,'editor');
165165
}
166166

167167
/**

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp