-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Description
In ember-can we've got a helper which expects to receive env but since Glimmer merged it no longer is.
The is defined as so:
export default function(properties, hash, options, env) {
var abilityName = properties[0];
var resource = properties[1];
var view = env.data.view;
var container = view.container;and is then exported as a plain function:
import canHelper from 'ember-can/helpers/can';
export default canHelper;This may well be an issue in the addon and shouldn't have received env previously, but before I fix it in the addon itself I thought it worth checking if this is a regression or if there's a different way we should be doing this.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels