<commit_before>/* jshint node: true */
'use strict';

// var path = require('path');

module.exports = {
  name: 'ember-power-select',

  included: function(app) {
    this._super.included.apply(this, arguments);
    // Don't include the precompiled css file if the user uses ember-cli-sass
    if (!app.registry.availablePlugins['ember-cli-sass']) {
      var addonConfig = app.options['ember-power-select'];

      if (!addonConfig || !addonConfig.theme) {
        app.import('vendor/ember-power-select.css');
      } else {
        app.import('vendor/ember-power-select-'+addonConfig.theme+'.css');
      }
    }
  },

  contentFor: function(type, config) {
    var emberBasicDropdown = this.addons.filter(function(addon) {
      return addon.name === 'ember-basic-dropdown';
    })[0]
    return emberBasicDropdown.contentFor.apply(this, [type, config]);
  }
};
 <commit_msg>Don't change `this` of basicDropdown in contentFor hook<commit_after>/* jshint node: true */
'use strict';

// var path = require('path');

module.exports = {
  name: 'ember-power-select',

  included: function(app) {
    this._super.included.apply(this, arguments);
    // Don't include the precompiled css file if the user uses ember-cli-sass
    if (!app.registry.availablePlugins['ember-cli-sass']) {
      var addonConfig = app.options['ember-power-select'];

      if (!addonConfig || !addonConfig.theme) {
        app.import('vendor/ember-power-select.css');
      } else {
        app.import('vendor/ember-power-select-'+addonConfig.theme+'.css');
      }
    }
  },

  contentFor: function(type, config) {
    var emberBasicDropdown = this.addons.filter(function(addon) {
      return addon.name === 'ember-basic-dropdown';
    })[0]
    return emberBasicDropdown.contentFor(type, config);
  }
};
 
{'fraction_non_alphanumeric': 0.15845464725643896, 'fraction_numerical': 0.0011198208286674132, 'mean_word_length': 3.295673076923077, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5459716', 'n_tokens_mistral': 590, 'n_tokens_neox': 576, 'n_words': 110}