mirror of
https://github.com/discourse/discourse.git
synced 2025-01-31 14:55:48 +08:00
Move non Ember.View
classes to raw-views
This commit is contained in:
parent
3494ed363f
commit
f105d72129
|
@ -16,7 +16,7 @@ function renderRaw(ctx, container, template, templateName, params) {
|
|||
};
|
||||
}
|
||||
|
||||
const module = `discourse/views/${templateName}`;
|
||||
const module = `discourse/raw-views/${templateName}`;
|
||||
if (requirejs.entries[module]) {
|
||||
const viewClass = require(module, null, null, true);
|
||||
if (viewClass && viewClass.default) {
|
||||
|
|
|
@ -91,6 +91,7 @@
|
|||
//= require_tree ./discourse/controllers
|
||||
//= require_tree ./discourse/models
|
||||
//= require_tree ./discourse/components
|
||||
//= require_tree ./discourse/raw-views
|
||||
//= require_tree ./discourse/views
|
||||
//= require_tree ./discourse/helpers
|
||||
//= require_tree ./discourse/templates
|
||||
|
|
Loading…
Reference in New Issue
Block a user