ember-fastboot / ember-fastboot/ember-cli-fastboot
Fastboot: this.get('fastBoot.isFastBoot') is undefined
Open
- Dominant language
- JavaScript
- Stars
- 850
- Forks
- 161
- Avg merge
- 17h 45m
- Merged PRs (30d)
- 19
Description
While debugging an error in authentication for my app, I came across this in `ember-cookie`
```js
_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.
Contributor guide
Assessment
This issue has not been assessed yet.