mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-29 09:20:03 +02:00
more
This commit is contained in:
parent
a229bc2f41
commit
b566ebf6f6
6 changed files with 10 additions and 8 deletions
|
@ -12,7 +12,7 @@ var Command = Backbone.Model.extend({
|
|||
},
|
||||
|
||||
validateAtInit: function() {
|
||||
if (!this.get('rawStr')) {
|
||||
if (this.get('rawStr') === null) {
|
||||
throw new Error('Give me a string!');
|
||||
}
|
||||
if (!this.get('createTime')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue