Permalink
Browse files
test(jQuery): run tests with jQuery 2.1, 2.2 & 3.2
Also, update jQuery 2.2.x mentions in the tutorial to 3.2.x.
Closes #15843
- Loading branch information
Showing
with
7 additions
and
7 deletions.
-
+1
−1
bower.json
-
+2
−2
docs/content/tutorial/step_14.ngdoc
-
+1
−1
package.json
-
+3
−3
yarn.lock
|
|
@@ -2,7 +2,7 @@ |
|
|
"name": "angularjs", |
|
|
"license": "MIT", |
|
|
"devDependencies": { |
|
|
"jquery": "3.1.0", |
|
|
"jquery": "3.2.1", |
|
|
"jquery-2.2": "jquery#2.2.4", |
|
|
"jquery-2.1": "jquery#2.1.4", |
|
|
"closure-compiler": "https://dl.google.com/closure-compiler/compiler-20140814.zip", |
|
|
|
|
|
@@ -46,14 +46,14 @@ Since we are using [Bower][bower] to install client-side dependencies, this step |
|
|
"angular-resource": "1.5.x", |
|
|
"angular-route": "1.5.x", |
|
|
"bootstrap": "3.3.x", |
|
|
"jquery": "2.2.x" |
|
|
"jquery": "3.2.x" |
|
|
} |
|
|
} |
|
|
``` |
|
|
|
|
|
* `"angular-animate": "1.5.x"` tells bower to install a version of the angular-animate module that |
|
|
is compatible with version 1.5.x of AngularJS. |
|
|
* `"jquery": "2.2.x"` tells bower to install the latest patch release of the 2.2 version of jQuery. |
|
|
* `"jquery": "3.2.x"` tells bower to install the latest patch release of the 3.2 version of jQuery. |
|
|
Note that this is not an AngularJS library; it is the standard jQuery library. We can use bower to |
|
|
install a wide range of 3rd party libraries. |
|
|
|
|
|
|
|
|
@@ -59,7 +59,7 @@ |
|
|
"jasmine-core": "^2.4.0", |
|
|
"jasmine-node": "^2.0.0", |
|
|
"jasmine-reporters": "^2.2.0", |
|
|
"jquery": "^3.1.1", |
|
|
"jquery": "^3.2.1", |
|
|
"karma": "^1.1.2", |
|
|
"karma-browserstack-launcher": "^1.0.1", |
|
|
"karma-chrome-launcher": "^1.0.1", |
|
|
|
|
|
@@ -3508,9 +3508,9 @@ jodid25519@^1.0.0: |
|
|
dependencies: |
|
|
jsbn "~0.1.0" |
|
|
|
|
|
jquery@^3.1.1: |
|
|
version "3.1.1" |
|
|
resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.1.1.tgz#347c1c21c7e004115e0a4da32cece041fad3c8a3" |
|
|
jquery@^3.2.1: |
|
|
version "3.2.1" |
|
|
resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.2.1.tgz#5c4d9de652af6cd0a770154a631bba12b015c787" |
|
|
|
|
|
js-tokens@^3.0.0: |
|
|
version "3.0.1" |
|
|
|