widget: css-safe hash (nanoid update)
This commit is contained in:
parent
456b65647c
commit
00bad171c2
1 changed files with 1 additions and 1 deletions
|
|
@ -180,7 +180,7 @@ class Widget extends EventEmitter {
|
|||
this.errors = {}
|
||||
this.parent = options.parent
|
||||
this.parentNode = options.parentNode
|
||||
this.hash = options.hash || nanoid(10)
|
||||
this.hash = options.hash || 'W' + nanoid(9)
|
||||
this.children = []
|
||||
this.reCreateOptions = options.reCreateOptions
|
||||
this.removed = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue