mirror of
https://github.com/modernw/App-Installer-For-Windows-8.x-Reset.git
synced 2026-06-21 06:31:00 +10:00
Update reader.
This commit is contained in:
@@ -118,4 +118,12 @@
|
||||
return Bridge.String.toupper(this);
|
||||
};
|
||||
}
|
||||
if (typeof String.prototype.format !== "function") {
|
||||
String.prototype.format = function() {
|
||||
var args = arguments;
|
||||
return this.replace(/{(\d+)}/g, function(match, number) {
|
||||
return typeof args[number] !== "undefined" ? args[number] : match;
|
||||
});
|
||||
};
|
||||
}
|
||||
})(this);
|
||||
Reference in New Issue
Block a user