mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-09 22:24:26 +02:00
still debugging stupid width issue
This commit is contained in:
parent
09ca30b224
commit
bbd081591d
1 changed files with 3 additions and 0 deletions
|
@ -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>';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue