package: wip deps update
This commit is contained in:
parent
2c7e3d3d4b
commit
447b2544e4
3 changed files with 26 additions and 24 deletions
|
|
@ -1,6 +1,6 @@
|
|||
var EventEmitter = require('../../events/event-emitter'),
|
||||
osc = require('../../osc'),
|
||||
nanoid = require('nanoid/generate'),
|
||||
{nanoid} = require('nanoid'),
|
||||
widgetManager = require('../../managers/widgets'),
|
||||
{urlParser} = require('../utils'),
|
||||
Vm = require('../vm'),
|
||||
|
|
@ -180,7 +180,7 @@ class Widget extends EventEmitter {
|
|||
this.errors = {}
|
||||
this.parent = options.parent
|
||||
this.parentNode = options.parentNode
|
||||
this.hash = options.hash || nanoid('abcdefghijklmnopqrstuvwxyABCDEFGHIJKLMNOPQRSTUVWXYZ', 10)
|
||||
this.hash = options.hash || nanoid(10)
|
||||
this.children = []
|
||||
this.reCreateOptions = options.reCreateOptions
|
||||
this.removed = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue