FIX: don’t convert an object using EachProxy to an array

This commit is contained in:
Joffrey JAFFEUX
2017-11-22 14:33:04 +01:00
committed by GitHub
parent b14d9529b8
commit acdfb3ed03
3 changed files with 3 additions and 6 deletions

View File

@ -1,4 +1,4 @@
const { isNone, makeArray } = Ember;
const { isNone } = Ember;
import computed from "ember-addons/ember-computed-decorators";
import UtilsMixin from "select-kit/mixins/utils";
import DomHelpersMixin from "select-kit/mixins/dom-helpers";
@ -88,7 +88,6 @@ export default Ember.Component.extend(UtilsMixin, PluginApiMixin, DomHelpersMixi
willComputeAttributes() {},
didComputeAttributes() {},
_beforeWillComputeContent(content) { return makeArray(content); },
willComputeContent(content) { return content; },
computeContent(content) { return content; },
_beforeDidComputeContent(content) {