DEV: Move discourse.js to app/app.js (#9545)

This is another thing to get our application in line with what Ember CLI
expects.
This commit is contained in:
Robin Ward
2020-04-27 13:28:10 -04:00
committed by GitHub
parent f15fc0ebf3
commit 056327c0c9
7 changed files with 19 additions and 5 deletions

View File

@ -263,6 +263,14 @@ var define, requirejs;
function requireFrom(name, origin) {
name = transformForAliases(name);
if (name === "discourse") {
// eslint-disable-next-line no-console
console.log(
"discourse has been moved to `discourse/app` - please update your code"
);
name = "discourse/app";
}
if (name === "discourse/models/input-validation") {
// eslint-disable-next-line no-console
console.log(