Skip to content

Commit

Permalink
update to prefer NPM over Bower, update to 2.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
samthor committed Aug 5, 2016
1 parent 849a56f commit fcab789
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions animateme/step1.md
Expand Up @@ -15,7 +15,7 @@ Open the `animateme/start/index.html` file in a text editor, and include `web-an
<meta name="viewport" content="width=device-width, user-scalable=no" />
<link href="site.css" rel="stylesheet" type="text/css" />
<!-- Add the line below -->
<script src="https://cdn.rawgit.com/web-animations/web-animations-js/2.1.2/web-animations.js"></script>
<script src="https://cdn.rawgit.com/web-animations/web-animations-js/2.2.2/web-animations.js"></script>
<script>
window.addEventListener('click', function() {
// Your code here!
Expand All @@ -26,9 +26,9 @@ window.addEventListener('click', function() {

### Alternatives

1. If you're doing this codelab offline, include a local version of the `web-animations-next.js` script from a checked out [polyfill repo](https://github.com/web-animations/web-animations-js#web-animations-nextminjs)
1. You can use [NPM](https://www.npmjs.com/package/web-animations-js) or [Bower](https://bower.io/) to depend on `web-animations-js`, version 2.0.0 or later.

2. You can use [Bower](http://bower.io/) to depend on `web-animations-js`, version 2.0.0 or later.
2. You could check out the [polyfill repo](https://github.com/web-animations/web-animations-js#web-animations-nextminjs) directly

## Next

Expand Down
6 changes: 3 additions & 3 deletions iconpopups/step1.md
Expand Up @@ -14,17 +14,17 @@ Open the `iconpopups/start/index.html` file in a text editor, and include `web-a
<link href="../shared/codelab.css" rel="stylesheet" type="text/css" />
<link href="site.css" rel="stylesheet" type="text/css" />
<!-- Add the line below -->
<script src="https://cdn.rawgit.com/web-animations/web-animations-js/2.1.2/web-animations-next.min.js"></script>
<script src="https://cdn.rawgit.com/web-animations/web-animations-js/2.2.2/web-animations-next.min.js"></script>
<script src="../shared/codelab.js"></script>
<script src="work.js"></script>
</head>
```

### Alternatives

1. If you're doing this codelab offline, include a local version of the `web-animations-next.min.js` script from a checked out [polyfill repo](https://github.com/web-animations/web-animations-js#web-animations-nextminjs)
1. You can use [NPM](https://www.npmjs.com/package/web-animations-js) or [Bower](https://bower.io/) to depend on `web-animations-js`, version 2.0.0 or later.

2. You can use [Bower](http://bower.io/) to depend on `web-animations-js`, version 2.0.0 or later.
2. You could check out the [polyfill repo](https://github.com/web-animations/web-animations-js#web-animations-nextminjs) directly

## Next

Expand Down

0 comments on commit fcab789

Please sign in to comment.