"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/ng/directive/selectSpec.js" between
angular.js-1.7.9.tar.gz and angular.js-1.8.0.tar.gz

About: AngularJS is a web application framework that assists with creating single-page applications that only require HTML, CSS, and JavaScript on the client side.

selectSpec.js  (angular.js-1.7.9):selectSpec.js  (angular.js-1.8.0)
skipping to change at line 341 skipping to change at line 341
'</optgroup> ' + '</optgroup> ' +
'</select>'); '</select>');
$compile(select)(scope); $compile(select)(scope);
scope.$apply(); scope.$apply();
expect(select).toEqualSelectWithOptions({'first':['A'], 'second': [['B']]} ); expect(select).toEqualSelectWithOptions({'first':['A'], 'second': [['B']]} );
dealoc(select); dealoc(select);
}); });
it('should only call selectCtrl.writeValue after a digest has occured', func tion() { it('should only call selectCtrl.writeValue after a digest has occurred', fun ction() {
scope.mySelect = 'B'; scope.mySelect = 'B';
scope.$apply(); scope.$apply();
var select = jqLite( var select = jqLite(
'<select spy-on-write-value ng-model="mySelect">' + '<select spy-on-write-value ng-model="mySelect">' +
'<optgroup label="first">' + '<optgroup label="first">' +
'<option value="A">A</option>' + '<option value="A">A</option>' +
'</optgroup>' + '</optgroup>' +
'<optgroup label="second">\n' + '<optgroup label="second">\n' +
'<option value="B">B</option>' + '<option value="B">B</option>' +
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)