equal
deleted
inserted
replaced
79 index_access: /^\[(\d+)\]/, |
79 index_access: /^\[(\d+)\]/, |
80 sign: /^[+-]/ |
80 sign: /^[+-]/ |
81 } |
81 } |
82 |
82 |
83 function sprintf(key) { |
83 function sprintf(key) { |
84 // `arguments` is not an array, but should be fine for this call |
84 // arguments is not an array, but should be fine for this call |
85 return sprintf_format(sprintf_parse(key), arguments) |
85 return sprintf_format(sprintf_parse(key), arguments) |
86 } |
86 } |
87 |
87 |
88 function vsprintf(fmt, argv) { |
88 function vsprintf(fmt, argv) { |
89 return sprintf.apply(null, [fmt].concat(argv || [])) |
89 return sprintf.apply(null, [fmt].concat(argv || [])) |