mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-22 17:58:05 +00:00
for debug, set uppy instance to global[this.opts.id], so we can do window.myUppyID.state
This commit is contained in:
parent
a2918ba9a8
commit
9cd021d20f
1 changed files with 2 additions and 3 deletions
|
|
@ -115,10 +115,9 @@ class Uppy {
|
|||
// for debugging and testing
|
||||
// this.updateNum = 0
|
||||
if (this.opts.debug) {
|
||||
global.UppyState = this.state
|
||||
global.uppyLog = ''
|
||||
// global.UppyAddFile = this.addFile.bind(this)
|
||||
global._uppy = this
|
||||
global[this.opts.id] = this
|
||||
// global._uppy = this
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue