Skip to content

Rewrite to remove dependency on jQuery #111

@TylerRick

Description

@TylerRick

The assumption that a project even includes/uses jQuery is rather unsafe and unusual these days.

But the core of this project is still valuable in the modern post-jQuery Rails world, so it would be nice to keep the good parts and just remove the dependency on jQuery.

Looks like it wouldn't be too hard to rewrite app/assets/javascripts/xray.js without it.

https://github.com/nefe/You-Dont-Need-jQuery

While we're at it, consider:

  • migrating from CoffeeScript to a regular modern ES6+ module, and
  • making it so wan include the module into our Webpack JS pack (remove the dependency on/assumption of Sprockets too)...

See also:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions