diff --git a/components/prism-core.js b/components/prism-core.js index 036870f3b2..9188cb29bb 100644 --- a/components/prism-core.js +++ b/components/prism-core.js @@ -402,7 +402,7 @@ var _ = _self.Prism = { } }, - tokenize: function(text, grammar, language) { + tokenize: function(text, grammar) { var strarr = [text]; var rest = grammar.rest; diff --git a/prism.js b/prism.js index 4f177d0532..5a8568734d 100644 --- a/prism.js +++ b/prism.js @@ -407,7 +407,7 @@ var _ = _self.Prism = { } }, - tokenize: function(text, grammar, language) { + tokenize: function(text, grammar) { var strarr = [text]; var rest = grammar.rest;