It looks like most of decaf's remaining problems with shopify/shopify's classes is from Shopify.Mixin calls like:
class Shopify.AdminEmbeddedAppHost.DateRangeControl
Shopify.Mixin(
@prototype
Shopify.DateHandler
)
# SNIP regular class code.
I think this can be rewritten to a JS equivalent of:
class Shopify.AdminEmbeddedAppHost.DateRangeControl
// SNIP regular class code.
}
Shopify.Mixin(Shopify.AdminEmbeddedAppHost.DateRangeControl.prototype, Shopify.DateHandler);
It looks like most of
decaf
's remaining problems withshopify/shopify
's classes is fromShopify.Mixin
calls like:I think this can be rewritten to a JS equivalent of: