equal
deleted
inserted
replaced
357 return; |
357 return; |
358 |
358 |
359 var matches = this._serializer.searchTweetsOccurences(searchString); |
359 var matches = this._serializer.searchTweetsOccurences(searchString); |
360 |
360 |
361 if (IriSP.countProperties(matches) > 0) { |
361 if (IriSP.countProperties(matches) > 0) { |
362 this._Popcorn.trigger("IriSP.PolemicWidget.matchFound"); |
362 this._Popcorn.trigger("IriSP.search.matchFound"); |
363 } else { |
363 } else { |
364 this._Popcorn.trigger("IriSP.PolemicWidget.noMatchFound"); |
364 this._Popcorn.trigger("IriSP.search.noMatchFound"); |
365 } |
365 } |
366 |
366 |
367 for (var id in matches) { |
367 for (var id in matches) { |
368 var factor = 0.5 + matches[id] * 0.2; |
368 var factor = 0.5 + matches[id] * 0.2; |
369 if (this.svgElements.hasOwnProperty(id)) { |
369 if (this.svgElements.hasOwnProperty(id)) { |