Skip to content

Commit

Permalink
change $.terminal.prism_formatting to $.terminal.prism
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Jun 4, 2018
1 parent b7ee96c commit 1e030eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
### Bugs
* fix paste/select all when click below .cmd
* second fix to jumping on right click (context menu) [#399](https://github.com/jcubic/jquery.terminal/issues/399)
* change $.terminal.prism_formatting to $.terminal.prism

## 1.16.0

Expand Down
2 changes: 1 addition & 1 deletion js/prism.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
if (!$.terminal) {
throw new Error('$.terminal is not defined');
}
jQuery.terminal.prism_formatter = function(language, text) {
jQuery.terminal.prism = function(language, text) {
if (language && Prism.languages[language]) {
var grammar = Prism.languages[language];
var tokens = Prism.tokenize(text, grammar);
Expand Down

0 comments on commit 1e030eb

Please sign in to comment.