Open abhishek97 opened 6 years ago
While debugging an error in authentication for my app, I came across this in ember-cookie
ember-cookie
_fastBoot: Ember.computed(function () { var owner = Ember.getOwner(this); return owner.lookup('service:fastboot'); }),
But when I set a breakpoint in code, I see that this.get('_fastBoot.isFastBoot') is undefined , while this.get('_fastBoot').get('isFastBoot') is true. This is breaking out an if block and brekaing the application.
this.get('_fastBoot.isFastBoot')
undefined
this.get('_fastBoot').get('isFastBoot')
true
if
Can you provide a reproduction? Seems like you may be using an old version where isFastBoot was a CP
isFastBoot
While debugging an error in authentication for my app, I came across this in
ember-cookie
But when I set a breakpoint in code, I see that
this.get('_fastBoot.isFastBoot')
isundefined
, whilethis.get('_fastBoot').get('isFastBoot')
istrue
. This is breaking out anif
block and brekaing the application.