1
0
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:
Taloth Saldono
2015-02-13 22:06:20 +01:00
parent 44928c8f64
commit 70bfad4e6a
24 changed files with 716 additions and 490 deletions

View File

@@ -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;
}
});