Skip to content

Commit 35cbc02

Browse files
Processing: Fixed function pattern (#2564)
1 parent 6b47133 commit 35cbc02

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/prism-processing.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Prism.languages.insertBefore('processing', 'number', {
1212
});
1313

1414
// Spaces are allowed between function name and parenthesis
15-
Prism.languages.processing['function'].pattern = /\w+(?=\s*\()/;
15+
Prism.languages.processing['function'] = /\w+(?=\s*\()/;
1616

1717
// Class-names is not styled by default
1818
Prism.languages.processing['class-name'].alias = 'variable';

components/prism-processing.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)