some formatting

pull/6/head
Mark McDowall 11 years ago
parent 2fdb0513e8
commit a2095f6f29

@ -1,5 +1,4 @@
define(
[
define([
'jquery',
'messenger'
], function ($, Messenger) {

@ -4,7 +4,8 @@ String.prototype.format = function () {
return this.replace(/{(\d+)}/g, function (match, number) {
if (typeof args[number] !== 'undefined') {
return args[number];
} else {
}
else {
return match;
}
});

Loading…
Cancel
Save