Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Removes unused hasOwn var declaration. Fixes #9510 #404

Closed
wants to merge 1 commit into from

3 participants

Rick Waldron Timmy Willison Mike Sherov
Rick Waldron
Collaborator

No description provided.

Mike Sherov
Collaborator

This file, events.js has a whole bunch of other stylistic issues, including but not limited to, multiple vat declarations per function, var declarations in loops, unused variables, and whitespacing. I assume it hasn't really been touched in a bit?

Collaborator

yeah bro.. It's on the rewrite list for 1.7 - Dave Methvin has some great plans for cleaning this up

Collaborator

Cool. Just curious, is that on the bug tracker, or listed somewhere? I was going to start doing that cleanup myself, and I would rather work on something that one of the core members isn't. Thanks again!

Collaborator

Dave Methvin is doing the major re-write tasks http://bugs.jquery.com/ticket/9393 - the man has a plan! :D

Timmy Willison
Collaborator

Landed in commit c3c001c.

Timmy Willison timmywil closed this
Sara Chipps SaraJo referenced this pull request
Closed

Patch for ticket #9830 #567

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 2 deletions.
  1. +1 −2  src/event.js
3  src/event.js
View
@@ -1,7 +1,6 @@
(function( jQuery ) {
-var hasOwn = Object.prototype.hasOwnProperty,
- rnamespaces = /\.(.*)$/,
+var rnamespaces = /\.(.*)$/,
rformElems = /^(?:textarea|input|select)$/i,
rperiod = /\./g,
rspaces = / /g,
Something went wrong with that request. Please try again.