mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-21 22:05:43 -04:00
rjs -> webpack
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
'use strict';
|
||||
String.prototype.format = function () {
|
||||
String.prototype.format = function(){
|
||||
var args = arguments;
|
||||
return this.replace(/{(\d+)}/g, function (match, number) {
|
||||
if (typeof args[number] !== 'undefined') {
|
||||
return this.replace(/{(\d+)}/g, function(match, number){
|
||||
if(typeof args[number] !== 'undefined') {
|
||||
return args[number];
|
||||
}
|
||||
else {
|
||||
return match;
|
||||
}
|
||||
});
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user