Skip to content

Commit 58c542d

Browse files
committed
import of jquery 1.6.4 from Google CDN
1 parent c29346c commit 58c542d

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

component.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name" : "jquery",
3-
"version" : "1.6.3",
3+
"version" : "1.6.4",
44
"main" : "./jquery.js",
55
"dependencies": {
66
}

jquery.js

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* jQuery JavaScript Library v1.6.3
2+
* jQuery JavaScript Library v1.6.4
33
* http://jquery.com/
44
*
55
* Copyright 2011, John Resig
@@ -11,7 +11,7 @@
1111
* Copyright 2011, The Dojo Foundation
1212
* Released under the MIT, BSD, and GPL Licenses.
1313
*
14-
* Date: Wed Aug 31 10:35:15 2011 -0400
14+
* Date: Mon Sep 12 18:54:48 2011 -0400
1515
*/
1616
(function( window, undefined ) {
1717

@@ -213,7 +213,7 @@ jQuery.fn = jQuery.prototype = {
213213
selector: "",
214214

215215
// The current version of jQuery being used
216-
jquery: "1.6.3",
216+
jquery: "1.6.4",
217217

218218
// The default length of a jQuery object is 0
219219
length: 0,
@@ -1179,7 +1179,7 @@ jQuery.support = (function() {
11791179

11801180
// Preliminary tests
11811181
div.setAttribute("className", "t");
1182-
div.innerHTML = " <link><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type=checkbox>";
1182+
div.innerHTML = " <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";
11831183

11841184

11851185
all = div.getElementsByTagName( "*" );
@@ -1414,7 +1414,7 @@ jQuery.boxModel = jQuery.support.boxModel;
14141414

14151415

14161416
var rbrace = /^(?:\{.*\}|\[.*\])$/,
1417-
rmultiDash = /([a-z])([A-Z])/g;
1417+
rmultiDash = /([A-Z])/g;
14181418

14191419
jQuery.extend({
14201420
cache: {},
@@ -1729,7 +1729,8 @@ function dataAttr( elem, key, data ) {
17291729
// If nothing was found internally, try to fetch any
17301730
// data from the HTML5 data-* attribute
17311731
if ( data === undefined && elem.nodeType === 1 ) {
1732-
var name = "data-" + key.replace( rmultiDash, "$1-$2" ).toLowerCase();
1732+
1733+
var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase();
17331734

17341735
data = elem.getAttribute( name );
17351736

@@ -3270,8 +3271,9 @@ if ( !jQuery.support.submitBubbles ) {
32703271
setup: function( data, namespaces ) {
32713272
if ( !jQuery.nodeName( this, "form" ) ) {
32723273
jQuery.event.add(this, "click.specialSubmit", function( e ) {
3274+
// Avoid triggering error on non-existent type attribute in IE VML (#7071)
32733275
var elem = e.target,
3274-
type = jQuery.nodeName( elem, "input" ) ? elem.type : "";
3276+
type = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.type : "";
32753277

32763278
if ( (type === "submit" || type === "image") && jQuery( elem ).closest("form").length ) {
32773279
trigger( "submit", this, arguments );
@@ -3280,7 +3282,7 @@ if ( !jQuery.support.submitBubbles ) {
32803282

32813283
jQuery.event.add(this, "keypress.specialSubmit", function( e ) {
32823284
var elem = e.target,
3283-
type = jQuery.nodeName( elem, "input" ) ? elem.type : "";
3285+
type = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.type : "";
32843286

32853287
if ( (type === "text" || type === "password") && jQuery( elem ).closest("form").length && e.keyCode === 13 ) {
32863288
trigger( "submit", this, arguments );
@@ -9041,4 +9043,4 @@ jQuery.each([ "Height", "Width" ], function( i, name ) {
90419043

90429044
// Expose jQuery to the global object
90439045
window.jQuery = window.$ = jQuery;
9044-
})(window);
9046+
})(window);

0 commit comments

Comments
 (0)