<commit_before>import Ember from "ember";
import Wormhole from 'ember-wormhole/components/ember-wormhole';
import layout from '../templates/components/x-favicon';

let [major, minor] = Ember.VERSION.split('.').map(n => parseInt(n, 10));
let needsBindAttr = major === 1 && minor < 11;

export default Wormhole.extend({
  layout,
  destinationElement: Ember.computed(function () {
    return document.getElementsByTagName('head')[0];
  }),

  needsBindAttr
});
<commit_msg>Remove `needsBindAttr` from x-favicon component in tests<commit_after>import Ember from "ember";
import Wormhole from 'ember-wormhole/components/ember-wormhole';
import layout from '../templates/components/x-favicon';

export default Wormhole.extend({
  layout,
  destinationElement: Ember.computed(function () {
    return document.getElementsByTagName('head')[0];
  })
});

{'fraction_non_alphanumeric': 0.14420803782505912, 'fraction_numerical': 0.008274231678486997, 'mean_word_length': 5.465648854961832, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6632796', 'n_tokens_mistral': 271, 'n_tokens_neox': 257, 'n_words': 59}