MCPcopy
hub / github.com/potree/potree / add

Function add

libs/proj4/proj4-src.js:489–500  ·  view source on GitHub ↗
(proj, i)

Source from the content-addressed store, hash-verified

487 var projStore = [];
488
489 function add(proj, i) {
490 var len = projStore.length;
491 if (!proj.names) {
492 console.log(i);
493 return true;
494 }
495 projStore[len] = proj;
496 proj.names.forEach(function(n) {
497 names[n.toLowerCase()] = len;
498 });
499 return this;
500 }
501
502 function get(name) {
503 if (!name) {

Callers 1

constructorMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected