Skip to content

Commit 068c862

Browse files
committed
v1.5.1-build.4648+sha.2c54a3c
1 parent 46d421e commit 068c862

38 files changed

+86
-63
lines changed

snapshot/angular-animate.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.5.1-build.4646+sha.32feb2b
2+
* @license AngularJS v1.5.1-build.4648+sha.2c54a3c
33
* (c) 2010-2016 Google, Inc. http://angularjs.org
44
* License: MIT
55
*/

snapshot/angular-animate.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

snapshot/angular-aria.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.5.1-build.4646+sha.32feb2b
2+
* @license AngularJS v1.5.1-build.4648+sha.2c54a3c
33
* (c) 2010-2016 Google, Inc. http://angularjs.org
44
* License: MIT
55
*/

snapshot/angular-aria.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

snapshot/angular-cookies.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.5.1-build.4646+sha.32feb2b
2+
* @license AngularJS v1.5.1-build.4648+sha.2c54a3c
33
* (c) 2010-2016 Google, Inc. http://angularjs.org
44
* License: MIT
55
*/

snapshot/angular-cookies.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

snapshot/angular-loader.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.5.1-build.4646+sha.32feb2b
2+
* @license AngularJS v1.5.1-build.4648+sha.2c54a3c
33
* (c) 2010-2016 Google, Inc. http://angularjs.org
44
* License: MIT
55
*/
@@ -87,7 +87,7 @@ function minErr(module, ErrorConstructor) {
8787
return match;
8888
});
8989

90-
message += '\nhttp://errors.angularjs.org/1.5.1-build.4646+sha.32feb2b/' +
90+
message += '\nhttp://errors.angularjs.org/1.5.1-build.4648+sha.2c54a3c/' +
9191
(module ? module + '/' : '') + code;
9292

9393
for (i = SKIP_INDEXES, paramPrefix = '?'; i < templateArgs.length; i++, paramPrefix = '&') {

snapshot/angular-loader.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

snapshot/angular-message-format.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.5.1-build.4646+sha.32feb2b
2+
* @license AngularJS v1.5.1-build.4648+sha.2c54a3c
33
* (c) 2010-2016 Google, Inc. http://angularjs.org
44
* License: MIT
55
*/

snapshot/angular-message-format.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

snapshot/angular-messages.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.5.1-build.4646+sha.32feb2b
2+
* @license AngularJS v1.5.1-build.4648+sha.2c54a3c
33
* (c) 2010-2016 Google, Inc. http://angularjs.org
44
* License: MIT
55
*/

snapshot/angular-messages.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

snapshot/angular-mocks.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.5.1-build.4646+sha.32feb2b
2+
* @license AngularJS v1.5.1-build.4648+sha.2c54a3c
33
* (c) 2010-2016 Google, Inc. http://angularjs.org
44
* License: MIT
55
*/

snapshot/angular-resource.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.5.1-build.4646+sha.32feb2b
2+
* @license AngularJS v1.5.1-build.4648+sha.2c54a3c
33
* (c) 2010-2016 Google, Inc. http://angularjs.org
44
* License: MIT
55
*/

snapshot/angular-resource.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

snapshot/angular-route.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.5.1-build.4646+sha.32feb2b
2+
* @license AngularJS v1.5.1-build.4648+sha.2c54a3c
33
* (c) 2010-2016 Google, Inc. http://angularjs.org
44
* License: MIT
55
*/

snapshot/angular-route.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

snapshot/angular-sanitize.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.5.1-build.4646+sha.32feb2b
2+
* @license AngularJS v1.5.1-build.4648+sha.2c54a3c
33
* (c) 2010-2016 Google, Inc. http://angularjs.org
44
* License: MIT
55
*/

snapshot/angular-sanitize.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

snapshot/angular-scenario.js

+10-4
Original file line numberDiff line numberDiff line change
@@ -9190,7 +9190,7 @@ return jQuery;
91909190
}));
91919191

91929192
/**
9193-
* @license AngularJS v1.5.1-build.4646+sha.32feb2b
9193+
* @license AngularJS v1.5.1-build.4648+sha.2c54a3c
91949194
* (c) 2010-2016 Google, Inc. http://angularjs.org
91959195
* License: MIT
91969196
*/
@@ -9249,7 +9249,7 @@ function minErr(module, ErrorConstructor) {
92499249
return match;
92509250
});
92519251

9252-
message += '\nhttp://errors.angularjs.org/1.5.1-build.4646+sha.32feb2b/' +
9252+
message += '\nhttp://errors.angularjs.org/1.5.1-build.4648+sha.2c54a3c/' +
92539253
(module ? module + '/' : '') + code;
92549254

92559255
for (i = SKIP_INDEXES, paramPrefix = '?'; i < templateArgs.length; i++, paramPrefix = '&') {
@@ -11635,7 +11635,7 @@ function toDebugString(obj) {
1163511635
* - `codeName` – `{string}` – Code name of the release, such as "jiggling-armfat".
1163611636
*/
1163711637
var version = {
11638-
full: '1.5.1-build.4646+sha.32feb2b', // all of these placeholder strings will be replaced by grunt's
11638+
full: '1.5.1-build.4648+sha.2c54a3c', // all of these placeholder strings will be replaced by grunt's
1163911639
major: 1, // package task
1164011640
minor: 5,
1164111641
dot: 1,
@@ -36815,14 +36815,20 @@ var ngOptionsDirective = ['$compile', '$parse', function($compile, $parse) {
3681536815
var option = options.getOptionFromViewValue(value);
3681636816

3681736817
if (option && !option.disabled) {
36818+
// Don't update the option when it is already selected.
36819+
// For example, the browser will select the first option by default. In that case,
36820+
// most properties are set automatically - except the `selected` attribute, which we
36821+
// set always
36822+
3681836823
if (selectElement[0].value !== option.selectValue) {
3681936824
removeUnknownOption();
3682036825
removeEmptyOption();
3682136826

3682236827
selectElement[0].value = option.selectValue;
3682336828
option.element.selected = true;
36824-
option.element.setAttribute('selected', 'selected');
3682536829
}
36830+
36831+
option.element.setAttribute('selected', 'selected');
3682636832
} else {
3682736833
if (value === null || providedEmptyOption) {
3682836834
removeUnknownOption();

snapshot/angular-touch.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.5.1-build.4646+sha.32feb2b
2+
* @license AngularJS v1.5.1-build.4648+sha.2c54a3c
33
* (c) 2010-2016 Google, Inc. http://angularjs.org
44
* License: MIT
55
*/

snapshot/angular-touch.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

snapshot/angular.js

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.5.1-build.4646+sha.32feb2b
2+
* @license AngularJS v1.5.1-build.4648+sha.2c54a3c
33
* (c) 2010-2016 Google, Inc. http://angularjs.org
44
* License: MIT
55
*/
@@ -57,7 +57,7 @@ function minErr(module, ErrorConstructor) {
5757
return match;
5858
});
5959

60-
message += '\nhttp://errors.angularjs.org/1.5.1-build.4646+sha.32feb2b/' +
60+
message += '\nhttp://errors.angularjs.org/1.5.1-build.4648+sha.2c54a3c/' +
6161
(module ? module + '/' : '') + code;
6262

6363
for (i = SKIP_INDEXES, paramPrefix = '?'; i < templateArgs.length; i++, paramPrefix = '&') {
@@ -2443,7 +2443,7 @@ function toDebugString(obj) {
24432443
* - `codeName` – `{string}` – Code name of the release, such as "jiggling-armfat".
24442444
*/
24452445
var version = {
2446-
full: '1.5.1-build.4646+sha.32feb2b', // all of these placeholder strings will be replaced by grunt's
2446+
full: '1.5.1-build.4648+sha.2c54a3c', // all of these placeholder strings will be replaced by grunt's
24472447
major: 1, // package task
24482448
minor: 5,
24492449
dot: 1,
@@ -27623,14 +27623,20 @@ var ngOptionsDirective = ['$compile', '$parse', function($compile, $parse) {
2762327623
var option = options.getOptionFromViewValue(value);
2762427624

2762527625
if (option && !option.disabled) {
27626+
// Don't update the option when it is already selected.
27627+
// For example, the browser will select the first option by default. In that case,
27628+
// most properties are set automatically - except the `selected` attribute, which we
27629+
// set always
27630+
2762627631
if (selectElement[0].value !== option.selectValue) {
2762727632
removeUnknownOption();
2762827633
removeEmptyOption();
2762927634

2763027635
selectElement[0].value = option.selectValue;
2763127636
option.element.selected = true;
27632-
option.element.setAttribute('selected', 'selected');
2763327637
}
27638+
27639+
option.element.setAttribute('selected', 'selected');
2763427640
} else {
2763527641
if (value === null || providedEmptyOption) {
2763627642
removeUnknownOption();

0 commit comments

Comments
 (0)