You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uglify removes Class.name which breaks typeclass matching as explained in microstates/ember#98.
We should not rely on Class.name since it's is not always available. Instead, we could introduce a special type name to ensure that this name is always available. It is a little more verbose but it will be more reliable while classes are still being transpiled.
Uglify removes
Class.name
which breaks typeclass matching as explained in microstates/ember#98.We should not rely on
Class.name
since it's is not always available. Instead, we could introduce a special type name to ensure that this name is always available. It is a little more verbose but it will be more reliable while classes are still being transpiled.An alternative API could be,
@cowboyd if you're good with this, I'll make a PR.
The text was updated successfully, but these errors were encountered: