diff options
author | Lisa Junger <ljunger@thoughtworks.com> | 2015-03-24 17:26:01 +0100 |
---|---|---|
committer | Lisa Junger <ljunger@thoughtworks.com> | 2015-03-25 09:54:56 +0100 |
commit | 35416a835622c27c4abbe812a1949f8e2480db81 (patch) | |
tree | bc8d86cc05dbeaa69a04e2f69f69ef37dc3f1bed /web-ui/test | |
parent | 835f61a5a78af8a3c6e0431d44b673575d571327 (diff) |
Revert "#192 - uses 'self' everywhere instead of 'this'"
This reverts commit bc6bdc8dd3c03eb875215ecfe0253a4bb3e0275a.
not necessary since self and this are holding the same context here.
Diffstat (limited to 'web-ui/test')
-rw-r--r-- | web-ui/test/spec/search/results_highlighter.spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web-ui/test/spec/search/results_highlighter.spec.js b/web-ui/test/spec/search/results_highlighter.spec.js index c65a042b..1631cf01 100644 --- a/web-ui/test/spec/search/results_highlighter.spec.js +++ b/web-ui/test/spec/search/results_highlighter.spec.js @@ -7,9 +7,9 @@ describeComponent('search/results_highlighter', function () { }); it('highlights only words that matches with the keywords given', function () { - self.setupComponent('<div id="text">Any one seeing too many open bugs</div>'); + this.setupComponent('<div id="text">Any one seeing too many open bugs</div>'); - self.component.attr = {keywords: ["any"]}; + this.component.attr = {keywords: ["any"]}; self.component.highlightResults(event, {where: '#text'}); var highlightedWords = self.component.$node.find('.search-highlight').length; |