i saw in some of scripts in the client side for nodebb something like module import:
require(['module_name'], function (m) {
// some code here
})
and i wondering to myself, there is a docs about these modules?
i saw in some of scripts in the client side for nodebb something like module import:
require(['module_name'], function (m) {
// some code here
})
and i wondering to myself, there is a docs about these modules?
@julian thank you for your answare, it's also gonna help me. but i meand in my question to docs about the modules. for example, i'll use the composer module:
require(['composer/formatting'], function (f) { });
or the topics module:
require(['forum/topic'], function (t) { });
and i want to learn their methods and properties.