Merge pull request #4 from tmickel/bugfix/too-many-stacks

Remove reference to old newParentId
This commit is contained in:
Andrew Sliwinski 2016-04-26 17:33:48 -04:00
commit eaf6016b8e
3 changed files with 260 additions and 319 deletions

View file

@ -69,7 +69,7 @@ Runtime.prototype.moveBlock = function (e) {
}
// Block was removed from parent
if (e.newParentId === undefined && e.oldParent !== undefined) {
if (e.newParent === undefined && e.oldParent !== undefined) {
// Add stack
_this.stacks.push(e.id);

568
vm.js

File diff suppressed because it is too large Load diff

9
vm.min.js vendored

File diff suppressed because one or more lines are too long