Commit 1aff4806 authored by Jacob Schatz's avatar Jacob Schatz

Updating dispatcher without code fixes

parent 45ec2653
This diff is collapsed.
import GroupsList from "~/groups_list"; import GroupsList from '~/groups_list';
import Landing from "~/landing"; import Landing from '~/landing';
export default function() { export default function() {
new GroupsList(); new GroupsList();
const landingElement = document.querySelector(".js-explore-groups-landing"); const landingElement = document.querySelector('.js-explore-groups-landing');
if (!landingElement) return; if (!landingElement) return;
const exploreGroupsLanding = new Landing( const exploreGroupsLanding = new Landing(
landingElement, landingElement,
landingElement.querySelector(".dismiss-button"), landingElement.querySelector('.dismiss-button'),
"explore_groups_landing_dismissed" 'explore_groups_landing_dismissed'
); );
exploreGroupsLanding.toggle(); exploreGroupsLanding.toggle();
} }
import ProjectsList from "~/projects_list"; import ProjectsList from '~/projects_list';
export default function() { export default function() {
new ProjectsList(); new ProjectsList();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment