From 35416a835622c27c4abbe812a1949f8e2480db81 Mon Sep 17 00:00:00 2001 From: Lisa Junger Date: Tue, 24 Mar 2015 17:26:01 +0100 Subject: Revert "#192 - uses 'self' everywhere instead of 'this'" This reverts commit bc6bdc8dd3c03eb875215ecfe0253a4bb3e0275a. not necessary since self and this are holding the same context here. --- web-ui/test/spec/search/results_highlighter.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web-ui/test') 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('
Any one seeing too many open bugs
'); + this.setupComponent('
Any one seeing too many open bugs
'); - 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; -- cgit v1.2.3