<commit_before>'use strict';
/* global require, module, __dirname */
var path        = require('path');

module.exports = {
  name: 'ember-cli-velocity',
  treeForVendor: function treeForVendor() {
    var unwatchedTree = require('broccoli-unwatched-tree');
    var emberCliVelocity = unwatchedTree(path.join(__dirname), 'vendor');
    var velocityAnimate = this.pickFiles(unwatchedTree(path.join(__dirname, 'node_modules', 'velocity-animate')), {
      srcDir: '/',
      files: ['*.js'],
      destDir: 'velocity-animate'
    });
    return this.mergeTrees([emberCliVelocity, velocityAnimate]);
  },
  included: function included(app) {
    this.app = app;
    var options = this.app.options.velocityOptions || {enabled: true, ui: false};

    if (options.enabled == false) {
      return;
    }

    this.app.import('vendor/velocity-animate/velocity.js');
    if (options.ui) {
      this.app.import('vendor/velocity-animate/velocity.ui.js');
    }
    this.app.import('vendor/ember-cli-velocity/velocity-promise-shim.js');<commit_msg>Fixed: missing shim for realsies<commit_after>'use strict';
/* global require, module, __dirname */
var path        = require('path');

module.exports = {
  name: 'ember-cli-velocity',
  treeForVendor: function treeForVendor() {
    var unwatchedTree = require('broccoli-unwatched-tree');
    var emberCliVelocity = unwatchedTree(path.join(__dirname, 'vendor'));
    var velocityAnimate = this.pickFiles(unwatchedTree(path.join(__dirname, 'node_modules', 'velocity-animate')), {
      srcDir: '/',
      files: ['*.js'],
      destDir: 'velocity-animate'
    });
    return this.mergeTrees([emberCliVelocity, velocityAnimate]);
  },
  included: function included(app) {
    this.app = app;
    var options = this.app.options.velocityOptions || {enabled: true, ui: false};

    if (options.enabled == false) {
      return;
    }

    this.app.import('vendor/velocity-animate/velocity.js');
    if (options.ui) {
      this.app.import('vendor/velocity-animate/velocity.ui.js');
    }
    this.app.import('vendor/ember-cli-velocity/velocity-promise-shim.js');
{'fraction_non_alphanumeric': 0.15704057279236278, 'fraction_numerical': 0.0, 'mean_word_length': 3.710112359550562, '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': '3445143', 'n_tokens_mistral': 689, 'n_tokens_neox': 650, 'n_words': 115}