DEV: Add the @action decorator (#8836)

This also enables`@action` use in plugin connectors.

Setting `actions` earlier allows `setupComponents` to use them, for example, when setting up event listeners.
This commit is contained in:
Jarek Radosz
2020-02-04 11:42:25 +01:00
committed by GitHub
parent 9a52a44d09
commit 4ab696dd2f
3 changed files with 38 additions and 2 deletions

View File

@ -16,6 +16,7 @@ var define, requirejs;
inject: Ember.inject.controller
},
"@ember/object": {
action: Ember._action,
default: Ember.Object,
get: Ember.get,
getProperties: Ember.getProperties,