Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 95fbf16

Browse files
spectre6000matsko
authored andcommitted
docs(tutorial): update tutorial copy to reflect updates to tutorial source @bower.json excerpt for animations
Code breaks if tutorial is followed without reset. bower.js exceprt copy does not match source. Changed to reflect in text body. Closes #12993
1 parent 51a27c0 commit 95fbf16

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/content/tutorial/step_12.ngdoc

+10-10
Original file line numberDiff line numberDiff line change
@@ -36,20 +36,20 @@ We are using [Bower][bower] to install client side dependencies. This step upda
3636
"license": "MIT",
3737
"private": true,
3838
"dependencies": {
39-
"angular": "~1.3.0",
40-
"angular-mocks": "~1.3.0",
41-
"bootstrap": "~3.1.1",
42-
"angular-route": "~1.3.0",
43-
"angular-resource": "~1.3.0",
39+
"angular": "1.4.x",
40+
"angular-mocks": "1.4.x",
4441
"jquery": "~2.1.1",
45-
"angular-animate": "~1.3.0"
42+
"bootstrap": "~3.1.1",
43+
"angular-route": "1.4.x",
44+
"angular-resource": "1.4.x",
45+
"angular-animate": "1.4.x"
4646
}
4747
}
4848
```
4949

50-
* `"angular-animate": "~1.3.0"` tells bower to install a version of the
51-
angular-animate component that is compatible with version 1.3.x.
52-
* `"jquery": "2.1.1"` tells bower to install the 2.1.1 version of jQuery. Note that this is not an
50+
* `"angular-animate": "1.4.x"` tells bower to install a version of the
51+
angular-animate component that is compatible with version 1.4.x.
52+
* `"jquery": "~2.1.1"` tells bower to install the 2.1.1 version of jQuery. Note that this is not an
5353
Angular library, it is the standard jQuery library. We can use bower to install a wide range of 3rd
5454
party libraries.
5555

@@ -111,7 +111,7 @@ __`app/index.html`.__
111111
```
112112

113113
<div class="alert alert-error">
114-
**Important:** Be sure to use jQuery version 2.1 or newer when using Angular 1.3; jQuery 1.x is
114+
**Important:** Be sure to use jQuery version 2.1 or newer when using Angular 1.4; jQuery 1.x is
115115
not officially supported.
116116
Be sure to load jQuery before all AngularJS scripts, otherwise AngularJS won't detect jQuery and
117117
animations will not work as expected.

0 commit comments

Comments
 (0)