Searched refs:messageFormat (Results 1 – 1 of 1) sorted by relevance
36 function format_text(messageFormat, data) { argument46 for (let i = 0; i < messageFormat.length;) {47 if (messageFormat[i] == '%') {48 if (i + 1 >= messageFormat.length) {52 switch (messageFormat[i + 1]) {82 throw new Error("Invalid format string conversion: " + messageFormat[i + 1]);86 out += messageFormat[i];