diff --git a/app/assets/javascripts/discourse-loader.js b/app/assets/javascripts/discourse-loader.js index d5112d026e2..e28ece7122b 100644 --- a/app/assets/javascripts/discourse-loader.js +++ b/app/assets/javascripts/discourse-loader.js @@ -226,7 +226,7 @@ var define, requirejs; console.log( "input-validation has been removed and should be replaced with `@ember/object`" ); - return Ember.Object; + name = "@ember/object"; } var mod = EMBER_MODULES[name] || registry[name];