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

var path = require('path');
var util = require('util');
var extend = util._extend;

var defaultOptions = {
  importTooltipsterDefaultStyles: true,
  importTooltipsterBorderless: false,
  importTooltipsterLight: false,
  importTooltipsterNoir: false,
  importTooltipsterPunk: false,
  importTooltipsterShadow: false
};

module.exports = {
  name: 'ember-cli-tooltipster',

  included: function(app) {
    this._super.included(app);

    var options = extend(defaultOptions, app.options['ember-cli-tooltipster']);
    var themesPath = path.join(app.bowerDirectory, 'tooltipster/dist/css/plugins/tooltipster/sideTip/themes/');

    if (options.importTooltipsterDefaultStyles) {
      app.import(app.bowerDirectory + '/tooltipster/dist/css/tooltipster.bundle.min.css');
    }
    if (options.importTooltipsterBorderless) {
      app.import(path.join(themesPath, 'tooltipster-sideTip-borderless.min.css'));
    }
    if (options.importTooltipsterLight) {
      app.import(path.join(themesPath, 'tooltipster-sideTip-light.min.css'));
    }
    if (options.importTooltipsterNoir) {
      app.import(path.join(themesPath, 'tooltipster-sideTip-noir.min.css'));
    }
    if (options.importTooltipsterPunk) {
      app.import(path.join(themesPath, 'tooltipster-sideTip-punk.min.css'));
    }
    if (options.importTooltipsterShadow) {<commit_msg>allow ember addons to use ember-cli-tooltipster as dependency<commit_after>/* jshint node: true */
'use strict';

var path = require('path');
var util = require('util');
var extend = util._extend;

var defaultOptions = {
  importTooltipsterDefaultStyles: true,
  importTooltipsterBorderless: false,
  importTooltipsterLight: false,
  importTooltipsterNoir: false,
  importTooltipsterPunk: false,
  importTooltipsterShadow: false
};

module.exports = {
  name: 'ember-cli-tooltipster',

  included: function(parent) {
    this._super.included(parent);
    var app;
    if (parent.app) {
      app = parent.app;
    } else {
      app = parent;
    }
    var options = extend(defaultOptions, app.options['ember-cli-tooltipster']);
    var themesPath = path.join(app.bowerDirectory, 'tooltipster/dist/css/plugins/tooltipster/sideTip/themes/');

    if (options.importTooltipsterDefaultStyles) {
      app.import(app.bowerDirectory + '/tooltipster/dist/css/tooltipster.bundle.min.css');
    }
    if (options.importTooltipsterBorderless) {
      app.import(path.join(themesPath, 'tooltipster-sideTip-borderless.min.css'));
    }
    if (options.importTooltipsterLight) {
      app.import(path.join(themesPath, 'tooltipster-sideTip-light.min.css'));
    }
    if (options.importTooltipsterNoir) {
      app.import(path.join(themesPath, 'tooltipster-sideTip-noir.min.css'));
    }
    if (options.importTooltipsterPunk) {
      app.import(path.join(themesPath, 'tooltipster-sideTip-punk.min.css'));
    }
    if (options.importTooltipsterShadow) {
{'fraction_non_alphanumeric': 0.13271920846127602, 'fraction_numerical': 0.0, 'mean_word_length': 4.198581560283688, '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': '4831271', 'n_tokens_mistral': 935, 'n_tokens_neox': 943, 'n_words': 146}