Since Ember 1.13, Ember expects that services either extend Ember.Service, or they should set isServiceFactory to true at the class level. Since the Cart service already extends ArrayProxy, this commit reopens the Cart service class to set isServiceFactory to true.
Since Ember 1.13, Ember expects that services either extend
Ember.Service
, or they should setisServiceFactory
totrue
at the class level. Since the Cart service already extendsArrayProxy
, this commit reopens the Cart service class to setisServiceFactory
totrue
.See https://github.com/emberjs/ember.js/pull/11261
I noticed this from a deprecation warning in a 1.13.x ember app that depends on
ember-cart
.