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