mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 20:11:24 +01:00
resources IIFE module
This commit is contained in:
parent
bef3affa61
commit
038c963740
1 changed files with 4 additions and 0 deletions
|
|
@ -615,5 +615,9 @@ window.Resources = (function () {
|
||||||
const getStroke = (color) => d3.color(color).darker(2).hex();
|
const getStroke = (color) => d3.color(color).darker(2).hex();
|
||||||
const get = (i) => pack.resources.find((resource) => resource.i === i);
|
const get = (i) => pack.resources.find((resource) => resource.i === i);
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
return {generate, methods, models, getStroke, get};
|
return {generate, methods, models, getStroke, get};
|
||||||
|
=======
|
||||||
|
return {generate, getDefault, defaultModels, methods, getStroke, get};
|
||||||
|
>>>>>>> fe421bcd (resources IIFE module)
|
||||||
})();
|
})();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue