Lines Matching refs:buf
42 var buf = [];
46 function addAttribute(key, val, mustEscape, buf) { argument
50 var last = buf[buf.length - 1];
52 buf[buf.length - 1] = last.substr(0, last.length - 1) + str.substr(1);
54 buf.push(str);
61 buf.push(stringify(key) + ': ' + stringify(val));
65 …buf.push(options.runtime('attr') + '("' + key + '", ' + val + ', ' + stringify(mustEscape) + ', ' …
70 buf.push(stringify(key) + ': ' + val);
91 addAttribute(key, val, mustEscape, buf);
119 buf = classesBuf.concat(buf);
120 if (options.format === 'html') return buf.length ? buf.join('+') : '""';
121 else return '{' + buf.join(',') + '}';