docs: function bootstrap(ctx) {
      var selectors = 'script[type="text/x-handlebars"], script[type="text/x-raw-handlebars"]';
  
      _emberViewsSystemJquery.default(selectors, ctx).each(function () {
        // Get a reference to the script tag.
        var script = _emberViewsSystemJquery.default(this);
  
        // Get the name of the script, used by Ember.View's templateName property.
        // First look for data-template-name attribute, then fall back to its
        // id if no name is found.
        var templateName = script.attr('data-template-name') || script.attr('id') || 'application';
        var template, compile;
  
        if (script.attr('type') === 'text/x-raw-handlebars') {
          compile = _emberViewsSystemJquery.default.proxy(Handlebars.compile, Handlebars);
          template = compile(script.html());
        } else {
          template = _emberTemplateCompilerSystemCompile.default(script.html(), {
            moduleName: templateName
          });
        }
  
        // Check if template of same name already exists.
        if (_emberHtmlbarsTemplate_registry.has(templateName)) {
          throw new _emberMetalError.default('Template named "' + templateName + '" already exists.');
        }
  
        // For templates which have a name, we save them and then remove them from the DOM.
        _emberHtmlbarsTemplate_registry.set(templateName, template);
  
        // Remove script tag from DOM.
        script.remove();
      });
    }