decide.nolog.cz/app/components/autofocusable-element.js
Jeldrik Hanschke 174b6d493c refactor create/settings to avoid observer
This also fix a bug if user creates more than one croodle without reloading window
in between. In that case a data fragment is reused which throws.

It's also the first step in dropping {{simple-select}} which is very outdated.
2018-12-31 12:09:17 +01:00

4 lines
159 B
JavaScript

import Component from '@ember/component';
import AutofocusSupport from 'croodle/mixins/autofocus-support';
export default Component.extend(AutofocusSupport);