apps/sms/js/thread_ui.js
// day in the future, we should make the SMIL and Compose use the same format
day in the future, we should make the SMIL and Compose use the same format
day in the future we should make the SMIL and Compose use the same format
function thui_generateSmilSlides(slides, content) {
  var length = slides.length;
  if (typeof content === 'string') {
    if (!length || slides[length - 1].text) {
      slides.push({
        text: content
      });
    } else {
      slides[length - 1].text = content;
    }
  } else {
    slides.push({
      blob: content.blob,
      name: content.name
    });
  }
  return slides;
}
function thui_generateSmilSlides ( slides , content ) { var length = slides . length ; if ( typeof content === 'string' ) { if ( ! length || slides [ length - 1 ] . text ) { slides . push ( { text : content } ) ; } else { slides [ length - 1 ] . text = content ; } } else { slides . push ( { blob : content . blob , name : content . name } ) ; } return slides ; }
day in the future, we should make the SMIL and Compose use the same format
day in the future we should make the SMIL and Compose use the same format