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

revoke vars/functions #37

Closed
dvv opened this issue Apr 7, 2011 · 6 comments
Closed

revoke vars/functions #37

dvv opened this issue Apr 7, 2011 · 6 comments

Comments

@dvv
Copy link

dvv commented Apr 7, 2011

Hi!

Sorry if I missed this in the docu, but how do I unset variables/functions in client context?
delete this.now.foo causes segfault, this.now.foo = undefined/null causes bump at L208 of nowServerLib.js

update: this.now.foo = false works, but still...

TIA,
--Vladimir

@ericz
Copy link
Contributor

ericz commented Apr 14, 2011

We don't handle deletes yet so = false is one way, not a very good way. Part of the deletes issue is that its hard to detect on the client side. I will look into this more for future

@ericz ericz closed this as completed Apr 14, 2011
@dvv
Copy link
Author

dvv commented Apr 14, 2011

It's not that pressing at all

@tommedema
Copy link

@ericz, why did you close this issue?

@ericz ericz reopened this Apr 21, 2011
@ericz
Copy link
Contributor

ericz commented May 9, 2011

You can now set to null!

@ericz ericz closed this as completed May 9, 2011
@ericz ericz reopened this May 9, 2011
ericz added a commit that referenced this issue May 9, 2011
@ericz
Copy link
Contributor

ericz commented May 9, 2011

Ok so now both setting to null and undefined work , but delete still does not work.

@ericz ericz closed this as completed May 9, 2011
@dvv
Copy link
Author

dvv commented May 10, 2011

delete just looks more native. Setting to null is quite enough. Thanks!

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

No branches or pull requests

3 participants