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

Improve xxbl:global scoping #14

Open
ebruchez opened this issue Jan 27, 2012 · 0 comments
Open

Improve xxbl:global scoping #14

ebruchez opened this issue Jan 27, 2012 · 0 comments

Comments

@ebruchez
Copy link
Collaborator

Right now, xxbl:global scopes everything in the top-level scope. This is problematic:

  • it breaks encapsulation (global elements are just copied to the top-level)
  • it can lead to id conflicts
  • accessing the top-level scope is not always possible

The idea is to scope globals in a new scope per XBL binding id (not per concrete binding as the scope is shared amongst concrete bindings).

@ghost ghost assigned ebruchez Jan 27, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant