2020-06-03 22:39:30 -04:00
|
|
|
(function() {
|
|
|
|
|
|
|
|
|
|
let terms = {
|
|
|
|
|
COPYRIGHT: "Copyright (C) Stewart Allen <sa@grid.space> - All Rights Reserved",
|
|
|
|
|
LICENSE: "See the license.md file included with the source distribution",
|
2022-08-21 13:54:27 -04:00
|
|
|
VERSION: "3.5.D4"
|
2020-06-03 22:39:30 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if (typeof(module) === 'object') {
|
|
|
|
|
module.exports = terms;
|
2021-08-28 09:45:56 -04:00
|
|
|
}
|
2021-12-26 13:59:02 -05:00
|
|
|
|
2021-12-29 10:37:17 -05:00
|
|
|
// allow license to be required() by app without gapp
|
2021-12-26 13:59:02 -05:00
|
|
|
if (typeof(self) !== 'undefined' && self.gapp) {
|
|
|
|
|
let app = self.gapp;
|
|
|
|
|
app.license = terms.LICENSE;
|
|
|
|
|
app.version = terms.VERSION;
|
|
|
|
|
app.copyright = terms.COPYRIGHT;
|
2021-12-29 16:31:17 -05:00
|
|
|
// satisfy resolver
|
|
|
|
|
gapp.register('moto.license');
|
2021-12-26 13:59:02 -05:00
|
|
|
// for earcut and other modules
|
2021-12-29 16:31:17 -05:00
|
|
|
(self.module = self.module || {}).exports = terms;
|
2020-06-03 22:39:30 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
})();
|