Commit c12e145547374bfec878c43caf1d011a9a8dddbd
1 parent
c4363d42
Exists in
master
and in
4 other branches
Doc improvement
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
src/app/components/dialoga-service/dialoga.service.js
@@ -366,6 +366,11 @@ | @@ -366,6 +366,11 @@ | ||
366 | _pipeHackPrograms(CACHE.programs); | 366 | _pipeHackPrograms(CACHE.programs); |
367 | } | 367 | } |
368 | 368 | ||
369 | + /** | ||
370 | + * Quebra o 'abstract' do artigo na tag '<hr />' em 2. | ||
371 | + * A primeira parte vai para o atributo 'summary' do programa. | ||
372 | + * A segunda parte vai para o atributo 'summaryExtended' do programa. | ||
373 | + */ | ||
369 | function _pipeHackPrograms (programs) { | 374 | function _pipeHackPrograms (programs) { |
370 | 375 | ||
371 | if(!angular.isArray(programs)){ | 376 | if(!angular.isArray(programs)){ |