migrating old version react to last version

This commit is contained in:
Hongarc 2019-04-23 00:49:15 +07:00
parent 634d0ad5e0
commit 64eb8ab773
10 changed files with 124 additions and 109 deletions

View file

@ -55,7 +55,7 @@ var AnimationQueue = Backbone.Model.extend({
},
add: function(animation) {
if (!animation instanceof Animation) {
if (!(animation instanceof Animation)) {
throw new Error("Need animation not something else");
}