Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variable: invalid state #13

Open
missinglink opened this issue Mar 24, 2016 · 0 comments
Open

Variable: invalid state #13

missinglink opened this issue Mar 24, 2016 · 0 comments
Labels

Comments

@missinglink
Copy link
Member

missinglink commented Mar 24, 2016

It's possible for a Variable to enter an invalid state:

var v = new Variable();
// v.$ == '' (empty string)

var data = v.get()
// data == '' (empty string)

var v.set( data )
// throws

It should be possible to export a Variable and then import it again?

The same issue happens if v.set() throws as it leaves v.$ == ''

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants