Container オブジェクトとは具体的に何ですか?

What is the idea container object which is passed in the initialize() callback. It is often seen in the codebase like “Discourse.container”?

Is it like a global object which keeps the information stored in the frontend?

はい、ある程度理解できました。これはアプリケーションに関する情報を格納する Ember オブジェクトです。

また、discourse/app/assets/javascripts/discourse/pre-initializers/inject-discourse-objects.js.es6 というファイルも見つけました。

これはコンテナに Discourse 固有の情報を「注入」するものです。

もし誰かがこれについて追加情報を提供してくだされば面白いのですが… :slight_smile: