Migrate JS modules to CommonJS style.

Closes #1488.
This commit is contained in:
Rafid Aslam
2016-12-04 14:59:56 +07:00
committed by Tim Abbott
parent 4bb6735e77
commit 7856217a63
30 changed files with 122 additions and 0 deletions

View File

@@ -761,3 +761,7 @@ exports.setup_page = function () {
return exports;
}());
if (typeof module !== 'undefined') {
module.exports = settings;
}