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

Add utility functions for Object getters and setters #132

Closed
Harbs opened this issue Mar 16, 2018 · 0 comments
Closed

Add utility functions for Object getters and setters #132

Harbs opened this issue Mar 16, 2018 · 0 comments

Comments

@Harbs
Copy link
Contributor

Harbs commented Mar 16, 2018

In af19f12 and d50bb9e We added the following:

  1. org.apache.royale.utils.object.defineGetter
  2. org.apache.royale.utils.object.defineSimpleGetter
  3. org.apache.royale.utils.object.defineProperty
  4. org.apache.royale.utils.object.defineSimpleProperty

These utility functions are JS-only and used for adding setters and getters dynamically (for polyfills and the like).

The Simple varieties don't require passing in functions, while the non-simple ones require functions to be passed in for the getters and/or setters.

@Harbs Harbs closed this as completed Mar 16, 2018
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

1 participant