mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-03 19:09:56 -04:00
UI Cleanup - Updated Instrumentation, jQuery and Mixins subtrees.
This commit is contained in:
@@ -1,11 +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 {
|
||||
} else {
|
||||
return match;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user