mirror of
https://github.com/Ylianst/MeshCommander
synced 2025-12-06 06:03:20 +00:00
Fixed IDER on IE.
This commit is contained in:
@@ -103,4 +103,5 @@ function random(max) { return Math.floor(Math.random() * max); }
|
||||
// Trademarks
|
||||
function trademarks(x) { return x.replace(/\(R\)/g, '®').replace(/\(TM\)/g, '™'); }
|
||||
|
||||
|
||||
// Format
|
||||
function format(format) { var args = Array.prototype.slice.call(arguments, 1); return format.replace(/{(\d+)}/g, function (match, number) { return typeof args[number] != 'undefined' ? args[number] : match; }); };
|
||||
Reference in New Issue
Block a user