mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 18:51:07 +08:00
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:
@ -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(
|
||||
|
Reference in New Issue
Block a user