Updating dispatcher without code fixes

This commit is contained in:
Jacob Schatz 2018-01-08 16:38:06 -05:00
parent 45ec26536e
commit 1aff480680
3 changed files with 356 additions and 409 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,14 +1,14 @@
import GroupsList from "~/groups_list";
import Landing from "~/landing";
import GroupsList from '~/groups_list';
import Landing from '~/landing';
export default function() {
new GroupsList();
const landingElement = document.querySelector(".js-explore-groups-landing");
const landingElement = document.querySelector('.js-explore-groups-landing');
if (!landingElement) return;
const exploreGroupsLanding = new Landing(
landingElement,
landingElement.querySelector(".dismiss-button"),
"explore_groups_landing_dismissed"
landingElement.querySelector('.dismiss-button'),
'explore_groups_landing_dismissed'
);
exploreGroupsLanding.toggle();
}

View file

@ -1,4 +1,4 @@
import ProjectsList from "~/projects_list";
import ProjectsList from '~/projects_list';
export default function() {
new ProjectsList();