2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

Re-ordering js default objects

This commit is contained in:
louismaxime.piton
2022-05-19 15:35:44 +02:00
committed by Mark Otto
parent 824c5a077b
commit c137d11aa2
10 changed files with 71 additions and 71 deletions
+8 -8
View File
@@ -17,28 +17,28 @@ import Config from './config'
const NAME = 'TemplateFactory'
const Default = {
extraClass: '',
template: '<div></div>',
allowList: DefaultAllowlist,
content: {}, // { selector : text , selector2 : text2 , }
extraClass: '',
html: false,
sanitize: true,
sanitizeFn: null,
allowList: 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)'
}
/**