test dependency injection

This commit is contained in:
Stewart Allen 2021-12-29 10:37:17 -05:00
commit a1dc0dea06
10 changed files with 98 additions and 46 deletions

View file

@ -10,6 +10,7 @@
module.exports = terms;
}
// allow license to be required() by app without gapp
if (typeof(self) !== 'undefined' && self.gapp) {
let app = self.gapp;
app.license = terms.LICENSE;