From d9eaa6b9468dded7813e880291f5e4cc209ad0c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alab=C3=AA=20Duarte?= Date: Tue, 24 Feb 2015 00:45:25 -0300 Subject: #192 - uses 'self' everywhere instead of 'this' --- web-ui/test/spec/search/results_highlighter.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web-ui/test/spec') diff --git a/web-ui/test/spec/search/results_highlighter.spec.js b/web-ui/test/spec/search/results_highlighter.spec.js index 1631cf01..c65a042b 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 () { - this.setupComponent('
Any one seeing too many open bugs
'); + self.setupComponent('
Any one seeing too many open bugs
'); - this.component.attr = {keywords: ["any"]}; + self.component.attr = {keywords: ["any"]}; self.component.highlightResults(event, {where: '#text'}); var highlightedWords = self.component.$node.find('.search-highlight').length; -- cgit v1.2.3