/* jshint node: true */
'use strict';

var path = require('path');

module.exports = {
  name: 'ivy-videojs',

  blueprintsPath: function() {
    return path.join(__dirname, 'blueprints');
  },

  included: function(app) {
    app.import({
      development: path.join(app.bowerDirectory, 'video.js/dist/video-js.css'),
      production:  path.join(app.bowerDirectory, 'video.js/dist/video-js.min.css')
    });

    app.import(path.join(app.bowerDirectory, 'video.js/dist/font/VideoJS.eot'), { destDir: 'assets/font' });
    app.import(path.join(app.bowerDirectory, 'video.js/dist/font/VideoJS.svg'), { destDir: 'assets/font' });
    app.import(path.join(app.bowerDirectory, 'video.js/dist/font/VideoJS.ttf'), { destDir: 'assets/font' });
    app.import(path.join(app.bowerDirectory, 'video.js/dist/font/VideoJS.woff'), { destDir: 'assets/font' });

    app.import('vendor/ivy-videojs/shims.js', {
      exports: {
        videojs: ['default']
      }
    });

    app.import(path.join(app.bowerDirectory, 'video.js/dist/video.min.js'));
    app.import(path.join(app.bowerDirectory, 'video.js/dist/video-js.swf'));
  }
};

@@ -961,32 +961,129 @@
 %0A    app.import(
+%7B%0A      development: path.join(app.bowerDirectory, 'video.js/dist/video.js'),%0A      production:  
 path.join(app.bo
@@ -1125,19 +1125,26 @@
 min.js')
+%0A    %7D
 );%0A
+%0A
     app.

Use unminified video.js builds in development mode.