[occur] options fix
This commit is contained in:
parent
ecf258f2a0
commit
1483264033
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ oop.inherits(Occur, Search);
|
|||
}
|
||||
|
||||
this.matchingLines = function(session, options) {
|
||||
options = options || {};
|
||||
options = oop.mixin({}, options);
|
||||
if (!session || !options.needle) return [];
|
||||
var search = new Search();
|
||||
search.set(options);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue