summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 6cf54ac..fd210b0 100644
--- a/README.md
+++ b/README.md
@@ -313,9 +313,9 @@ And the `center()` method:
rect.animate().center(200, 200);
```
-If you include the sugar.js module, `fill()`, `stroke()`, `animate()` and `skwe()` will be available as well:
+If you include the sugar.js module, `rotate()` and `skew()` will be available as well:
```javascript
-rect.animate().fill({ color: '#f03' }).stroke({ width: 10 });
+rect.animate().rotate(45).skew(25, 0);
```
Animations can be stopped in to ways.
@@ -337,7 +337,7 @@ rect.animate().center(200, 200);
Finally, you can add callback methods using `after()`:
```javascript
rect.animate(3000).move(100, 100).after(function() {
- this.animate().fill({ color: '#f06' });
+ this.animate().attr({ fill: '#f06' });
});
```