| @@ -1623,12 +1623,10 @@ | ||
| 1623 | 1623 | // For asynchronous loading with AMD/RequireJS, consider |
| 1624 | 1624 | // using a template-loader plugin as described here: |
| 1625 | 1625 | // https://github.com/marionettejs/backbone.marionette/wiki/Using-marionette-with-requirejs |
| 1626 | 1626 | loadTemplate: function(templateId, options) { |
| 1627 | - var $template = '#' === templateId.charAt(0) | |
| 1628 | - ? Backbone.$('script' + templateId) | |
| 1629 | - : Backbone.$(templateId); | |
| 1630 | - | |
| 1627 | + var $template = Backbone.$(templateId); | |
| 1628 | + | |
| 1631 | 1629 | if (!$template.length) { |
| 1632 | 1630 | throw new Marionette.Error({ |
| 1633 | 1631 | name: 'NoTemplateError', |
| 1634 | 1632 | message: 'Could not find template: "' + templateId + '"' |