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

Commit261e1a8

Browse files
committed
freeze Hash
1 parent37a21e2 commit261e1a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/coderay/scanners/java_script.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class JavaScript < Scanner
4646
"'"=>/[^\\']+/,
4747
'"'=>/[^\\"]+/,
4848
'/'=>%r{ (?: [^\\/\[]+ |\[ ([^\]\\]+ |\\.)*\]? )+ }mx,
49-
}# :nodoc:
49+
}.freeze# :nodoc:
5050
KEY_CHECK_PATTERN={
5151
"'"=>/ (?> [^\\']* (?:\\. [^\\']* )* ) '\s* : /mx,
5252
'"'=>/ (?> [^\\"]* (?:\\. [^\\"]* )* ) "\s* : /mx,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp