Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

Commit

Permalink
AUI-833 - Add empty method to TST
Browse files Browse the repository at this point in the history
  • Loading branch information
ipeychev authored and eduardolundgren committed Mar 7, 2013
1 parent bd525cb commit 318b438
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/aui-search/js/aui-search-ternary-search-tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ var TernarySearchTree = A.Component.create({
return !!(Lang.isValue(node) && node.isEndOfWord());
},

empty: function() {
var instance = this;

instance._root = null;
},

patternMatch: function(pattern) {
var instance = this;

Expand Down

0 comments on commit 318b438

Please sign in to comment.