Add missing exports to js modules

This commit is contained in:
Arpith Siromoney
2016-12-29 16:53:07 +05:30
committed by showell
parent 0d5a0d02b3
commit 5639f21188
6 changed files with 24 additions and 1 deletions

View File

@@ -405,3 +405,7 @@ exports.fatal = function blueslip_fatal (msg, more_info) {
return exports;
}());
if (typeof module !== 'undefined') {
module.exports = blueslip;
}

View File

@@ -1201,5 +1201,8 @@ $(function () {
});
return exports;
}());
if (typeof module !== 'undefined') {
module.exports = compose;
}

View File

@@ -365,3 +365,7 @@ $(document).on('narrow_deactivated.zulip', function () {
return exports;
}());
if (typeof module !== 'undefined') {
module.exports = message_edit;
}

View File

@@ -718,3 +718,7 @@ exports.set_userlist_placement = function (placement) {
return exports;
}());
if (typeof module !== 'undefined') {
module.exports = popovers;
}

View File

@@ -632,3 +632,7 @@ $(function () {
return exports;
}());
if (typeof module !== 'undefined') {
module.exports = ui;
}

View File

@@ -342,3 +342,7 @@ $(function () {
return exports;
}());
if (typeof module !== 'undefined') {
module.exports = viewport;
}