aboutsummaryrefslogtreecommitdiffstats
path: root/src/deprecated.js
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2017-03-06 23:51:26 +0100
committerTimmy Willison <4timmywil@gmail.com>2017-03-06 18:40:51 -0500
commitbe041e4da46153465ab4cdc65a4d90245a383a4c (patch)
tree9a8e648eb630bbacf1f7a994c54b9612e04fcfe8 /src/deprecated.js
parent56136897f241db22560b58c3518578ca1453d5c7 (diff)
downloadjquery-be041e4da46153465ab4cdc65a4d90245a383a4c.tar.gz
jquery-be041e4da46153465ab4cdc65a4d90245a383a4c.zip
Core: move jQuery.fn.nodeName to jQuery.nodeName, add tests
Ref ac9e3016 Close gh-3560
Diffstat (limited to 'src/deprecated.js')
-rw-r--r--src/deprecated.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/deprecated.js b/src/deprecated.js
index a18089c41..195ce7ad9 100644
--- a/src/deprecated.js
+++ b/src/deprecated.js
@@ -30,11 +30,11 @@ jQuery.fn.extend( {
} else {
jQuery.ready( true );
}
-},
- nodeName: nodeName
+ }
} );
jQuery.isArray = Array.isArray;
jQuery.parseJSON = JSON.parse;
+jQuery.nodeName = nodeName;
} );