diff options
author | Bruno Wagner <bwgpro@gmail.com> | 2015-03-27 17:24:10 -0300 |
---|---|---|
committer | Bruno Wagner <bwgpro@gmail.com> | 2015-03-27 17:24:10 -0300 |
commit | e5714103bd5930a83d6169f8cde4e25f9e136668 (patch) | |
tree | 566e12c750eaf9f6aff5ef976e87d17e4aada355 /web-ui/test/spec | |
parent | 7cec9d5f8a8c53629bea6d6bb86a9653ca84fd10 (diff) |
Fixed jshint warnings
Diffstat (limited to 'web-ui/test/spec')
-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 dde92ffc..523c3599 100644 --- a/web-ui/test/spec/search/results_highlighter.spec.js +++ b/web-ui/test/spec/search/results_highlighter.spec.js @@ -4,7 +4,7 @@ describeComponent('search/results_highlighter', function () { it('highlights only words that matches with the keywords given', function () { this.setupComponent('<div id="text">Any one seeing too many open bugs</div>'); - this.component.attr = {keywords: ["any"]}; + this.component.attr = {keywords: ['any']}; this.component.highlightResults(event, {where: '#text'}); var highlightedWords = this.component.$node.find('.search-highlight').length; @@ -15,7 +15,7 @@ describeComponent('search/results_highlighter', function () { it('resets highlights when a new search is performed', function() { this.setupComponent('<div id="text">Any one seeing too many open bugs</div>'); - this.component.attr = {keywords: ["any"]}; + this.component.attr = {keywords: ['any']}; this.component.highlightResults(event, {where: '#text'}); $(document).trigger(Pixelated.events.search.resetHighlight); |