Skip to content

Compatibility updates for use with latest jQuery #8

Description

@IlanaB

This plugin is not compatible with the latest version of jQuery. .live() has been depreciated and should be replaced with .on()

Another issue, the latest jQuery is using a different version of the selection() function. I updated the "use" function on line 40 to work with the latest:

// Use
e.keyboard('bind', 'print', function(e, o) {
if(input) {
input.selection('replace',{text:o.text, caret:"end"});
}
});

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions