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?
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 في الحاوية.
سيكون من المثير للاهتمام لو أمكن لأحد إضافة المزيد إلى هذا.. ![]()