docs: function addLiteral(script, str){
    if(!str) return;
    str = str.replace(/\\|'/g, '\\$&');// escape '
  
    var m, index = 0;
    while(m = reNewline.exec(str)){
      var nl = m[0];
      var es = nl==='\r\n'? '\\r\\n':'\\n';
      script.push("__p('" + str.slice(index, m.index) + es + "');\n");
      index = m.index + nl.length;
    }
    var last = str.slice(index);
    if(last) script.push("__p('" + last + "');");
  }