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

Feature/#43 implement decorators #45

Merged
merged 15 commits into from
Sep 19, 2017
Merged

Conversation

doriansmiley
Copy link
Owner

adds decorators for injection and data binding

these classes are application level objects that should receive injections
 was not able to use @bindable on getter or setter functions. Decorating them caused the parameter injection workflow to take place. This means if you set up getter/setter methods on private properties you have to call this.notify manually. Otherwise you can declare any public property as bindable. Perhaps it is possible to set up @bindable on the class and get the original property definitions that way. Something to consider next release.
always access context using a provided reference to ensure sand boxing
we want people to use the imperative form of injection to cut down on file size
@doriansmiley doriansmiley merged commit 46f8bfa into dev Sep 19, 2017
@doriansmiley doriansmiley deleted the feature/#43_implementDecorators branch September 19, 2017 05:53
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.

1 participant