Skip to content

Drop jquery dependency #52

Description

@laszlokorte

Maybe we do not need to use jquery at all.

Currently we use:

$.extend for merging the config object with the default config - could use pure js to do the merge
$.prototype.text() to access the input fields content - could use innerText and textContent
$.prototype.stop and $.prototype.slideToggle - could use css animation
$.prototype.next, $.prototype.is and $.prototype.closest - could use document.querySelector,
$.prototype.on and $.prototype.off for event binding - addEventListener should work in all browsers now
$.ajax for ajax request - could use raw ajax api

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions