mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-26 17:29:53 +01:00
* Fix semi linter rule * Fix semi-spacing linter rule * Fix no-undef-init linter rule * Fix space-before-blocks linter rule
20 lines
302 B
JavaScript
20 lines
302 B
JavaScript
'use strict';
|
|
|
|
/* globals define */
|
|
|
|
define('forum/compose', [], function () {
|
|
var Compose = {};
|
|
|
|
Compose.init = function () {
|
|
var container = $('.composer');
|
|
|
|
if (container.length) {
|
|
$(window).trigger('action:composer.enhance', {
|
|
container: container
|
|
});
|
|
}
|
|
};
|
|
|
|
return Compose;
|
|
});
|