Skip to content

Commit

Permalink
Update and cleanup js and css assets; add Stimulus
Browse files Browse the repository at this point in the history
  • Loading branch information
bensheldon committed Feb 28, 2023
1 parent addeef2 commit 09c7dc3
Show file tree
Hide file tree
Showing 8 changed files with 2,509 additions and 803 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ import showToasts from "toasts";
import setupPopovers from "popovers";
import LivePoll from "live_poll";

import { Application } from "stimulus";
window.Stimulus = Application.start();

documentReady(function() {
renderCharts();
showToasts();
Expand All @@ -16,3 +19,4 @@ documentReady(function() {
const livePoll = new LivePoll
livePoll.start();
});

24 changes: 15 additions & 9 deletions app/assets/good_job/vendor/chartjs/chart.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 09c7dc3

Please sign in to comment.