Skip to content

Conversation

@ferretwithaberet
Copy link
Contributor

@ferretwithaberet ferretwithaberet commented Mar 16, 2020

Description

I made the Gridstack.initAll() function use a deep copy of the opts object by using JSON.parse(JSON.stringify(opts))(Simplest method I found, that fixes our issue).

Checklist

  • Created tests which fail without the change (if possible)
  • All tests passing (yarn test)

@adumesny adumesny merged commit 04a3412 into gridstack:develop Mar 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants