community-modules/grid-core/dist/es6/grid.js
// adds to list and removes duplicates
adds to list and removes duplicates
adds to list and removes duplicates
function addModule(module) {
            function addIndividualModule(module) {
                if (!mapNames[module.moduleName]) {
                    mapNames[module.moduleName] = true;
                    allModules.push(module);
                    ModuleRegistry.register(module); 
                }
            }
            addIndividualModule(module);
            if (module.dependantModules) {
                module.dependantModules.forEach(addModule); 
            }
        }
function addModule ( module ) { function addIndividualModule ( module ) { if ( ! mapNames [ module . moduleName ] ) { mapNames [ module . moduleName ] = true ; allModules . push ( module ) ; ModuleRegistry . register ( module ) ; } } addIndividualModule ( module ) ; if ( module . dependantModules ) { module . dependantModules . forEach ( addModule ) ; } }
adds to list and removes duplicates
adds to list and removes duplicates
// Niall / Sean - my addition // Niall / Sean - my addition