Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6f930be

Browse files
elwinarensjamesdaily
authored andcommittedJan 27, 2014
docs(tutorial/step-12): fix refernce to incorrect jquery version
Closes angular#5156
1 parent 33dffb1 commit 6f930be

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
 

‎docs/content/tutorial/step_12.ngdoc

+5-5
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ __`app/index.html`.__
4343
<pre>
4444
...
4545
<!-- jQuery is used for JavaScript animations (include this before angular.js) -->
46-
<script src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
46+
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
4747

4848
<!-- required module to enable animation support in AngularJS -->
4949
<script src="lib/angular/angular-animate.js"></script>
@@ -56,6 +56,10 @@ __`app/index.html`.__
5656
...
5757
</pre>
5858

59+
<div class="alert alert-error">
60+
**Important:** Be sure to use jQuery version `1.10.x`. AngularJS does not yet support jQuery `2.x`.
61+
</div>
62+
5963
Animations can now be created within the CSS code (`animations.css`) as well as the JavaScript code (`animations.js`).
6064
But before we start, let's create a new module which uses the ngAnimate module as a dependency just like we did before
6165
with `ngResource`.
@@ -383,10 +387,6 @@ isn't required to do JavaScript animations with AngularJS, but we're going to us
383387
your own JavaScript animation library is beyond the scope of this tutorial. For more on
384388
`jQuery.animate`, see the {@link http://api.jquery.com/animate/ jQuery documentation}.
385389

386-
<div class="alert alert-error">
387-
**Important:** Be sure to use jQuery version `1.10.x`. AngularJS does not yet support jQuery `2.x`.
388-
</div>
389-
390390
The `addClass` and `removeClass` callback functions are called whenever an a class is added or removed
391391
on the element that contains the class we registered, which is in this case `.phone`. When the `.active`
392392
class is added to the element (via the `ng-class` directive) the `addClass` JavaScript callback will

0 commit comments

Comments
 (0)
Please sign in to comment.