]> source.dussan.org Git - jquery.git/commitdiff
Landing pull request 404. Removes unused hasOwn var declaration. Fixes #9510.
authorrwldrn <waldron.rick@gmail.com>
Tue, 7 Jun 2011 00:16:14 +0000 (20:16 -0400)
committertimmywil <tim.willison@thisismedium.com>
Tue, 7 Jun 2011 00:16:14 +0000 (20:16 -0400)
More Details:
 - https://github.com/jquery/jquery/pull/404
 - http://bugs.jquery.com/ticket/9510

src/event.js

index d2d57d676631a773a874951408ac2655926af53f..3f53ab5c2e3971385d1b2c9a2ccbb4ec664f3b7f 100644 (file)
@@ -1,7 +1,6 @@
 (function( jQuery ) {
 
-var hasOwn = Object.prototype.hasOwnProperty,
-       rnamespaces = /\.(.*)$/,
+var rnamespaces = /\.(.*)$/,
        rformElems = /^(?:textarea|input|select)$/i,
        rperiod = /\./g,
        rspaces = / /g,