Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'js/dist/util/template-factory.js')
-rw-r--r--js/dist/util/template-factory.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/js/dist/util/template-factory.js b/js/dist/util/template-factory.js
index e64c4a3348..cd7b9a4655 100644
--- a/js/dist/util/template-factory.js
+++ b/js/dist/util/template-factory.js
@@ -1,5 +1,5 @@
/*!
- * Bootstrap template-factory.js v5.2.0-beta1 (https://getbootstrap.com/)
+ * Bootstrap template-factory.js v5.2.0 (https://getbootstrap.com/)
* Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
@@ -16,7 +16,7 @@
/**
* --------------------------------------------------------------------------
- * Bootstrap (v5.2.0-beta1): util/template-factory.js
+ * Bootstrap (v5.2.0): util/template-factory.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -26,27 +26,27 @@
const NAME = 'TemplateFactory';
const Default = {
- extraClass: '',
- template: '<div></div>',
+ allowList: sanitizer.DefaultAllowlist,
content: {},
// { selector : text , selector2 : text2 , }
+ extraClass: '',
html: false,
sanitize: true,
sanitizeFn: null,
- allowList: sanitizer.DefaultAllowlist
+ template: '<div></div>'
};
const DefaultType = {
- extraClass: '(string|function)',
- template: 'string',
+ allowList: 'object',
content: 'object',
+ extraClass: '(string|function)',
html: 'boolean',
sanitize: 'boolean',
sanitizeFn: '(null|function)',
- allowList: 'object'
+ template: 'string'
};
const DefaultContentType = {
- selector: '(string|element)',
- entry: '(string|element|function|null)'
+ entry: '(string|element|function|null)',
+ selector: '(string|element)'
};
/**
* Class definition