Skip to content

Commit

Permalink
Merge pull request #422 from chiefcll/patch-3
Browse files Browse the repository at this point in the history
Update Patching.md
  • Loading branch information
michielvandergeest committed Sep 27, 2022
2 parents 6bb0f9e + b386d29 commit 7932ee6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/Templates/Patching.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ You can also call a patch *directly* on a sub element:


```
this.tag("Parent").patch(
this.tag("Parent").patch({
x: 150, alpha: 0.5,
Child: {
x: 100, y: 100
Expand All @@ -61,7 +61,7 @@ You can remove an element by specifying 'undefined' instead of the settings obje


```
this.tag("Parent").patch(
this.tag("Parent").patch({
x: 150, alpha: 0.5,
Child: undefined
});
Expand Down Expand Up @@ -107,4 +107,4 @@ options.keys = {
};
const App = new BasicUsageExample(options);
document.body.appendChild(App.stage.getCanvas());
```
```

0 comments on commit 7932ee6

Please sign in to comment.