8 ms·
Why is that? https://github.com/angular/angular.js/blob/master/src/Angular.js#L41 https://github.com/angular/angular.js/blob/master/src/Angula...
by gizzlon 13y ago
Why is that?
https://github.com/angular/angular.js/blob/master/src/Angular.js#L41 https://github.com/angular/angular.js/blob/master/src/Angula...
- acdha 13y agoIn Turkish, "i" uppercases to "İ" (note the dot) - there's a separate undotted lowercase "ı" which becomes "I": http://www.i18nguy.com/unicode/turkish-i18n.html http://www.i18nguy.com/unicode/turkish-i18n.html So basically if your goal is for "i".upperCase() to produce something which goes to another program (e.g. an API call), the Angular code is correct. If it's going to be displayed to humans, it's wrong. The documentation at http://docs.angularjs.org/api/angular.uppercase http://docs.angularjs.org/api/angular.uppercase should probably specify that this cannot be used for user content.