Skip to content

Commit

Permalink
update file
Browse files Browse the repository at this point in the history
  • Loading branch information
ACLM committed Dec 16, 2016
1 parent 4b62786 commit d503757
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public/js/components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ function App(documentTones, sentences, thresholds, selectedSample) { // eslint-d
var map = function (item) {
var result = item;
result.className = _toneLevel(_selectedFilter, item.tone_categories[_searchIndex(_selectedTone)].tones[_searchIndex(_selectedFilter)].score, 'className_OT');
r esult.text = result.text.replace(/\r?\n/g, '<br />');
return result;
};
return _originalSentences.map(map);
Expand Down

0 comments on commit d503757

Please sign in to comment.