diff options
Diffstat (limited to 'xstatic/pkg/angular/data/angular-parse-ext.js')
-rw-r--r-- | xstatic/pkg/angular/data/angular-parse-ext.js | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/xstatic/pkg/angular/data/angular-parse-ext.js b/xstatic/pkg/angular/data/angular-parse-ext.js index 42e1335..0edc89d 100644 --- a/xstatic/pkg/angular/data/angular-parse-ext.js +++ b/xstatic/pkg/angular/data/angular-parse-ext.js @@ -1,6 +1,6 @@ /** - * @license AngularJS v1.5.8 - * (c) 2010-2016 Google, Inc. http://angularjs.org + * @license AngularJS v1.8.2 + * (c) 2010-2020 Google, Inc. http://angularjs.org * License: MIT */ (function(window, angular) {'use strict'; @@ -1223,24 +1223,27 @@ function IDC_Y(cp) { return false; } +/* eslint-disable new-cap */ + /** * @ngdoc module * @name ngParseExt * @packageName angular-parse-ext - * @description * - * # ngParseExt + * @description * * The `ngParseExt` module provides functionality to allow Unicode characters in - * identifiers inside Angular expressions. - * - * - * <div doc-module-components="ngParseExt"></div> + * identifiers inside AngularJS expressions. * * This module allows the usage of any identifier that follows ES6 identifier naming convention - * to be used as an identifier in an Angular expression. ES6 delegates some of the identifier + * to be used as an identifier in an AngularJS expression. ES6 delegates some of the identifier * rules definition to Unicode, this module uses ES6 and Unicode 8.0 identifiers convention. * + * <div class="alert alert-warning"> + * You cannot use Unicode characters for variable names in the {@link ngRepeat} or {@link ngOptions} + * expressions (e.g. `ng-repeat="f in поля"`), because even with `ngParseExt` included, these + * special expressions are not parsed by the {@link $parse} service. + * </div> */ /* global angularParseExtModule: true, @@ -1265,7 +1268,8 @@ function isValidIdentifierContinue(ch, cp) { angular.module('ngParseExt', []) .config(['$parseProvider', function($parseProvider) { $parseProvider.setIdentifierFns(isValidIdentifierStart, isValidIdentifierContinue); - }]); + }]) + .info({ angularVersion: '"1.8.2"' }); })(window, window.angular); |