Skip to content

Commit

Permalink
Merge pull request #171 from entrylabs/hotfix/1.0.5_bugfix
Browse files Browse the repository at this point in the history
1.0.5에 적용된 버그 수정
  • Loading branch information
chanlee committed Feb 5, 2016
2 parents 3f93816 + 01ff7dc commit 2b8f8fc
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 49 deletions.
6 changes: 4 additions & 2 deletions dist/entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -3048,7 +3048,7 @@ Blockly.Blocks.change_to_next_shape = {init:function() {
}};
Entry.block.change_to_next_shape = function(a, b) {
var c;
c = "prev" !== b.getStringField("DRIECTION") ? a.parent.getNextPicture(a.picture.id) : a.parent.getPrevPicture(a.picture.id);
c = b.fields && "prev" === b.getStringField("DRIECTION") ? a.parent.getPrevPicture(a.picture.id) : a.parent.getNextPicture(a.picture.id);
a.setImage(c);
return b.callReturn();
};
Expand Down Expand Up @@ -9925,10 +9925,12 @@ Entry.Scene.prototype.selectScene = function(a) {
};
Entry.Scene.prototype.toJSON = function() {
for (var a = [], b = this.getScenes().length, c = 0;c < b;c++) {
var d = this.getScenes()[c], e = d.view;
var d = this.getScenes()[c], e = d.view, f = d.view;
delete d.view;
delete d.inputWrapper;
a.push(JSON.parse(JSON.stringify(d)));
d.view = e;
d.inputWrapper = f;
}
return a;
};
Expand Down
Loading

0 comments on commit 2b8f8fc

Please sign in to comment.