# Upgrading Ember to 2.10

**URL:** <https://meta.discourse.org/t/upgrading-ember-to-2-10/52724>\
**Category:** Development\
**Tags:** ember\
**Created:** [9 Novembre 2016, 8:25pm UTC](https://meta.discourse.org/t/upgrading-ember-to-2-10/52724 "2016-11-09T20:25:24Z")\
**Posts on this page:** 1\
**Showing post:** 67

<div class="post-metadata">

**Author:** ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)\
**Post date:** [20 Dicembre 2016, 4:15pm UTC](https://meta.discourse.org/t/upgrading-ember-to-2-10/52724/67 "2016-12-20T16:15:08Z")

</div>

It seems raw templates in plugins are being registered with `javascripts/` in front of their name. This is what `Discourse.RAW_TEMPLATES` looks like when I run Topic List Previews.

 ![](https://global.discourse-cdn.com/meta/original/3X/5/6/56e4252161a1c9acf42a07d0e091585f234d19b1.png)

This means that existing templates are not being overridden. And that new plugin templates cannot be (easily) used.

It is possible to reopen the relevant class and update the `buildBuffer` method, e.g.

```plaintext
      buildBuffer(buffer) {
        const template = findRawTemplate('javascripts/list/topic-list-item');
        if (template) {
          buffer.push(template(this));
        }
      },

```

This works, but is not ideal. In terms of referencing my own raw templates, I tried just including `javascripts/` e.g.

`{{raw "javascripts/list/topic-thumbnail"}}`

However this was parsed as:

![](https://global.discourse-cdn.com/meta/original/3X/4/c/4cf0a10468d235aa7bd721f927b4114e3c10adf1.png)

---

_[View the full topic](https://meta.discourse.org/t/upgrading-ember-to-2-10/52724)._
