/* globals module */

var EOL = require('os').EOL;

module.exports = {
  normalizeEntityName: function() {},

  afterInstall: function() {
    return this.addBowerPackageToProject('blanket', '5e94fc30f2e694bb5c3718ddcbf60d467f4b4d26', {saveDev: true})

        // Modify tests/index.html to include the blanket options after the application
        .then(function() {
            return this.insertIntoFile(
                'tests/index.html',
                '    <script src="assets/blanket-options.js"></script>',
                { after: '<script src="assets/' + this.project.config().modulePrefix + '.js"></script>' + EOL }
            );
        }.bind(this))

        // Modify tests/index.html to include the blanket loader after the blanket options
        .then(function() {
            return this.insertIntoFile(
                'tests/index.html',
                '    <script src="assets/blanket-loader.js"></script>',
                { after: '<script src="assets/blanket-options.js"></script>' + EOL }
            );
        }.bind(this))

        // modify the blanket reporter styles so it's not covered by the ember testing container
        .then(function() {
          return this.insertIntoFile(
              'tests/index.html',
              '    <style>#blanket-main { position: relative; z-index: 99999; }</style>',
              { after: '<link rel="stylesheet" href="assets/test-support.css">' + EOL }
          );
        }.bind(this));
  }
};

@@ -43,16 +43,75 @@
 s').EOL;
+%0Avar VersionChecker = require('ember-cli-version-checker');
 %0A%0Amodule
@@ -187,24 +187,168 @@
 unction() %7B%0A
+    var checker = new VersionChecker(this);%0A    var scriptPrefix = checker.for('ember-cli', 'npm').satisfies('%3E= 2.7.0') ? '%7B%7BrootURL%7D%7D' : '';%0A%0A
     return t
@@ -666,32 +666,52 @@
    %3Cscript src=%22
+' + scriptPrefix + '
 assets/blanket-o
@@ -755,37 +755,24 @@
   %7B after: '
-%3Cscript src=%22
 assets/' + t
@@ -1090,32 +1090,52 @@
    %3Cscript src=%22
+' + scriptPrefix + '
 assets/blanket-l
@@ -1182,29 +1182,16 @@
 after: '
-%3Cscript src=%22
 assets/b
@@ -1548,24 +1548,24 @@
 %7D%3C/style%3E',%0A
+
             
@@ -1580,37 +1580,8 @@
 r: '
-%3Clink rel=%22stylesheet%22 href=%22
 asse

Make blueprints work with rootURL