mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-17 19:12:37 -05:00
11 lines
219 B
JavaScript
11 lines
219 B
JavaScript
export default {
|
|
name: 'load-helpers',
|
|
|
|
initialize() {
|
|
Object.keys(requirejs.entries).forEach(entry => {
|
|
if ((/\/helpers\//).test(entry)) {
|
|
require(entry, null, null, true);
|
|
}
|
|
});
|
|
}
|
|
};
|