restructure code, internalize devices

This commit is contained in:
Stewart Allen 2020-06-03 22:39:30 -04:00
commit 02feb524e6
110 changed files with 592 additions and 681 deletions

19
src/license.js Normal file
View file

@ -0,0 +1,19 @@
(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",
VERSION: "3.0.0-dev"
};
if (typeof(module) === 'object') {
module.exports = terms;
} else if (self.kiri) {
// self.exports = terms;
self.kiri.license = terms.LICENSE;
self.kiri.version = terms.VERSION;
self.kiri.copyright = terms.COPYRIGHT;
self.module = { exports: terms };
}
})();