Thursday, June 04, 2026 3:31:34 AM
> project show esm_website_v1
The unexpected heart of the ESM ecosystem. What started as a simple Rails dashboard has evolved into the command center for thousands of gaming communities, proving that sometimes the best infrastructure projects are the ones you never planned to build.
Details
> cash_dom.js
import $ from "cash-dom";

$.fn.show = function () {
  return this.each(function () {
    const el = $(this);

    // Remove d-none class
    el.removeClass("d-none");

    // If element had inline display: none, remove it
    if (el.css("display") === "none") {
      el.css("display", "");
    }
  });
};

$.fn.hide = function () {
  return this.each(function () {
    const el = $(this);

    // Add d-none class
    el.addClass("d-none");

    // Clean up any inline display styles
    el.css("display", "");
  });
};

export default $;
All opinions represented herein are my own
- © 2024 - 2026 itsthedevman
- build 4294fb2