Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JQuery Deprecated Methods #363

Open
melloware opened this issue Apr 21, 2020 · 1 comment
Open

JQuery Deprecated Methods #363

melloware opened this issue Apr 21, 2020 · 1 comment

Comments

@melloware
Copy link

melloware commented Apr 21, 2020

JQuery has deprecated trim and isFunction methods.

Replace $.trim() with value.trim()..

$.trim(element.text()) becomes element.text().trim()

Replace $.isFunction(stringOrFunction) with typeof stringOrFunction === "function"

@rmm5t
Copy link
Owner

rmm5t commented Apr 24, 2020

Thank you. A pull-request here would be much appreciated.

melloware added a commit to melloware/jquery-timeago that referenced this issue Apr 25, 2020
melloware added a commit to melloware/jquery-timeago that referenced this issue Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants