still debugging stupid width issue

This commit is contained in:
Peter Cottle 2012-09-28 14:09:59 -07:00
parent 09ca30b224
commit bbd081591d

View file

@ -12,6 +12,9 @@ var MyError = Backbone.Model.extend({
}, },
toResult: function() { toResult: function() {
if (!this.get('msg').length) {
return '';
}
return '<p>' + this.get('msg').replace(/\n/g, '</p><p>') + '</p>'; return '<p>' + this.get('msg').replace(/\n/g, '</p><p>') + '</p>';
} }
}); });