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

@ -3,7 +3,10 @@
"use strict";
(function() {
var AP = {};
gapp.register('add.array');
let AP = {};
/** ******************************************************************
* Array prototype helpers

View file

@ -1,3 +1,11 @@
/** Copyright 2014-2019 Stewart Allen -- All Rights Reserved */
"use strict";
if (!self.ArrayWriter) {
gapp.register('add.class');
}
self.ArrayWriter = class ArrayWriter {
constructor() {
this.pos = 0;

View file

@ -4,6 +4,8 @@
(function() {
gapp.register('add.three');
var MP = THREE.Mesh.prototype,
BP = THREE.BufferGeometry.prototype;