(old)
| 5812 | |
| 5813 | function buildTokenSplitSpaces(inner) { |
| 5814 | function split(old) { |
| 5815 | var out = " "; |
| 5816 | for (var i = 0; i < old.length - 2; ++i) out += i % 2 ? " " : "\u00a0"; |
| 5817 | out += " "; |
| 5818 | return out; |
| 5819 | } |
| 5820 | return function(builder, text, style, startStyle, endStyle, title) { |
| 5821 | inner(builder, text.replace(/ {3,}/g, split), style, startStyle, endStyle, title); |
| 5822 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…