Skip to content

Commit

Permalink
1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
runemadsen committed Sep 28, 2017
1 parent 44be6af commit 6a5b18f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
## 1.1.0

- After lots of shuffling around, there is now *finally* a consistent API for adding and removing shapes. Groups have `addChild()` and `removeChild()`, shapes have `removeParent()` and `addParent()`.
- Fixed a giant bug with re-rendering of children.
- Fixed a giant bug with re-rendering of children if they were removed/added to a group.

## 1.0.3

Expand Down
3 changes: 2 additions & 1 deletion dist/rune.js
Original file line number Diff line number Diff line change
Expand Up @@ -2631,7 +2631,8 @@ var Parent = {
},

removeChild: function(child) {
this.children = without(this.children, child);
this.renderedChildren.splice(child.childId, 1);
this.children.splice(child.childId, 1);
this.changedChildren = without(this.changedChildren, child.childId);

// Lower id's of all children above by one
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rune.js",
"version": "1.0.3",
"version": "1.1.0",
"description": "A JavaScript library for programming graphic design systems with SVG",
"repository": {
"type": "git",
Expand Down

0 comments on commit 6a5b18f

Please sign in to comment.