Skip to content

jQuery integration #7

Description

@nbubna

This will require parser and support code for jQuery-style namespaces, as a base. Beyond that, we can probably just subsume their event system entirely, by replacing $.fn.trigger, $.fn.on, $.fn.off, and $.fn.one, redirecting all events through Eventi. That approach might take a little research to ensure we don't miss other hooks in their event system that people expect/use.

Alternately, we could bridge the systems by wrapping those functions to ensure events fired in jQuery's manual event system are also fired in the DOM/Eventi and vice versa. The duplication is likely more wasteful and will require informing jQuery's Event builder of all of Eventi's custom properties, but it might cause fewer compatibility issues??

My current preference is to just overthrow their system.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions