Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
positlabs committed Mar 7, 2023
2 parents c9c5980 + 772b4c3 commit 6abf494
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Download [anime.js.lso](./anime.js.lso) and drop it into your project to install

Here's an example of a simple turntable animation:

```
```javascript
var transform = script.getTransform()
anime({
targets: transform.getLocalRotation().toEulerAngles(),
Expand Down Expand Up @@ -76,7 +76,7 @@ We use anime.js in web projects, so it was already part of our workflow. Instead

To illustrate, here's what one of our animation control scripts might look like, using anime.js and Promises. It's easy to understand, and easy to comment out large blocks for testing specific sections.

```
```javascript
hideIntroInstructions()
.then(showTitleCard)
.then(showHandInstruction)
Expand All @@ -86,4 +86,4 @@ hideIntroInstructions()
.then(waitf(2))
.then(showLogo)
.then(function () { print('done!') })
```
```

0 comments on commit 6abf494

Please sign in to comment.