update add, data, geo to use gapp.register()
This commit is contained in:
parent
19522665b2
commit
32e9ceca55
23 changed files with 504 additions and 489 deletions
|
|
@ -3,9 +3,7 @@
|
|||
"use strict";
|
||||
|
||||
// extend Array, String, Number, Math
|
||||
(function() {
|
||||
|
||||
gapp.register('add.array');
|
||||
gapp.register("add.array", [], (root, exports) => {
|
||||
|
||||
let AP = {};
|
||||
|
||||
|
|
@ -234,4 +232,4 @@ Number.prototype.round = function(digits) {
|
|||
return Math.round(this.valueOf() * pow) / pow;
|
||||
};
|
||||
|
||||
})();
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue