Skip to content

Commit

Permalink
Processing: Fixed function pattern (#2564)
Browse files Browse the repository at this point in the history
  • Loading branch information
RunDevelopment authored Sep 22, 2020
1 parent 6b47133 commit 35cbc02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/prism-processing.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Prism.languages.insertBefore('processing', 'number', {
});

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

// Class-names is not styled by default
Prism.languages.processing['class-name'].alias = 'variable';
2 changes: 1 addition & 1 deletion components/prism-processing.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 35cbc02

Please sign in to comment.