Skip to content

Commit efc0873

Browse files
committed
Removed offset argument which is now not used and processed elsewhere.
1 parent bf8c166 commit efc0873

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/jquery.syntax.core.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -934,11 +934,11 @@ Syntax.Brush.prototype.getRuleForKlass = function (klass) {
934934
return null;
935935
}
936936

937-
Syntax.Brush.prototype.getMatches = function(text, offset) {
937+
Syntax.Brush.prototype.getMatches = function(text) {
938938
var matches = [];
939939

940940
for (var i = 0; i < this.rules.length; i += 1) {
941-
matches = matches.concat(this.getMatchesForRule(text, this.rules[i], offset));
941+
matches = matches.concat(this.getMatchesForRule(text, this.rules[i]));
942942
}
943943

944944
return matches;

0 commit comments

Comments
 (0)