Note this commit leaves out the biggest occurrence of the editor which is the post/topic composer. To avoid major breakage, this replaces it everywhere else it was used: * User preferences (About Me) * Admin Customizations > Text Content * Category Templates * Editing Queued Posts A future commit will replace the main composer with this editor and will remove the unused pagedown code.
13 lines
257 B
JavaScript
13 lines
257 B
JavaScript
export function loadAllHelpers() {
|
|
Ember.keys(requirejs.entries).forEach(entry => {
|
|
if ((/\/helpers\//).test(entry)) {
|
|
require(entry, null, null, true);
|
|
}
|
|
});
|
|
}
|
|
|
|
export default {
|
|
name: 'load-all-helpers',
|
|
initialize: loadAllHelpers
|
|
};
|