fixed react warning

This commit is contained in:
Peter Cottle 2015-04-20 17:19:53 +10:00
parent 57a1905e7d
commit 97723a1150
2 changed files with 9 additions and 4 deletions

View file

@ -10,6 +10,7 @@ var MyError = Backbone.Model.extend({
getMsg: function() {
if (!this.get('msg')) {
debugger;
console.warn('mye rror without message');
}
return this.get('msg');