mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Switched from jQuery 1.2.5 to 1.2.6
This commit is contained in:
parent
e219f8cf80
commit
363d702c77
43
jquery/jquery-1.2.5.js → jquery/jquery-1.2.6.js
vendored
43
jquery/jquery-1.2.5.js → jquery/jquery-1.2.6.js
vendored
@ -1,13 +1,13 @@
|
|||||||
(function(){
|
(function(){
|
||||||
/*
|
/*
|
||||||
* jQuery 1.2.5 - New Wave Javascript
|
* jQuery 1.2.6 - New Wave Javascript
|
||||||
*
|
*
|
||||||
* Copyright (c) 2008 John Resig (jquery.com)
|
* Copyright (c) 2008 John Resig (jquery.com)
|
||||||
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
||||||
* and GPL (GPL-LICENSE.txt) licenses.
|
* and GPL (GPL-LICENSE.txt) licenses.
|
||||||
*
|
*
|
||||||
* $Date: 2008-05-20 23:14:54 -0400 (Tue, 20 May 2008) $
|
* $Date: 2008-05-24 14:22:17 -0400 (Sat, 24 May 2008) $
|
||||||
* $Rev: 5651 $
|
* $Rev: 5685 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Map over jQuery in case of overwrite
|
// Map over jQuery in case of overwrite
|
||||||
@ -84,7 +84,7 @@ jQuery.fn = jQuery.prototype = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
// The current version of jQuery being used
|
// The current version of jQuery being used
|
||||||
jquery: "1.2.5",
|
jquery: "1.2.6",
|
||||||
|
|
||||||
// The number of elements contained in the matched element set
|
// The number of elements contained in the matched element set
|
||||||
size: function() {
|
size: function() {
|
||||||
@ -402,6 +402,9 @@ jQuery.fn = jQuery.prototype = {
|
|||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if( value.constructor == Number )
|
||||||
|
value += '';
|
||||||
|
|
||||||
return this.each(function(){
|
return this.each(function(){
|
||||||
if ( this.nodeType != 1 )
|
if ( this.nodeType != 1 )
|
||||||
return;
|
return;
|
||||||
@ -428,7 +431,7 @@ jQuery.fn = jQuery.prototype = {
|
|||||||
|
|
||||||
html: function( value ) {
|
html: function( value ) {
|
||||||
return value == undefined ?
|
return value == undefined ?
|
||||||
(this.length ?
|
(this[0] ?
|
||||||
this[0].innerHTML :
|
this[0].innerHTML :
|
||||||
null) :
|
null) :
|
||||||
this.empty().append( value );
|
this.empty().append( value );
|
||||||
@ -505,9 +508,9 @@ jQuery.fn = jQuery.prototype = {
|
|||||||
this;
|
this;
|
||||||
|
|
||||||
// execute all scripts after the elements have been injected
|
// execute all scripts after the elements have been injected
|
||||||
if ( jQuery.nodeName( elem, "script" ) ) {
|
if ( jQuery.nodeName( elem, "script" ) )
|
||||||
scripts = scripts.add( elem );
|
scripts = scripts.add( elem );
|
||||||
} else {
|
else {
|
||||||
// Remove any inner scripts for later evaluation
|
// Remove any inner scripts for later evaluation
|
||||||
if ( elem.nodeType == 1 )
|
if ( elem.nodeType == 1 )
|
||||||
scripts = scripts.add( jQuery( "script", elem ).remove() );
|
scripts = scripts.add( jQuery( "script", elem ).remove() );
|
||||||
@ -746,14 +749,14 @@ jQuery.extend({
|
|||||||
},
|
},
|
||||||
|
|
||||||
prop: function( elem, value, type, i, name ) {
|
prop: function( elem, value, type, i, name ) {
|
||||||
// Handle executable functions
|
// Handle executable functions
|
||||||
if ( jQuery.isFunction( value ) )
|
if ( jQuery.isFunction( value ) )
|
||||||
value = value.call( elem, i );
|
value = value.call( elem, i );
|
||||||
|
|
||||||
// Handle passing in a number to a CSS property
|
// Handle passing in a number to a CSS property
|
||||||
return value && value.constructor == Number && type == "curCSS" && !exclude.test( name ) ?
|
return value && value.constructor == Number && type == "curCSS" && !exclude.test( name ) ?
|
||||||
value + "px" :
|
value + "px" :
|
||||||
value;
|
value;
|
||||||
},
|
},
|
||||||
|
|
||||||
className: {
|
className: {
|
||||||
@ -1058,7 +1061,7 @@ jQuery.extend({
|
|||||||
elem.parentNode.selectedIndex;
|
elem.parentNode.selectedIndex;
|
||||||
|
|
||||||
// If applicable, access the attribute via the DOM 0 way
|
// If applicable, access the attribute via the DOM 0 way
|
||||||
if ( notxml && !special && name in elem ) {
|
if ( name in elem && notxml && !special ) {
|
||||||
if ( set ){
|
if ( set ){
|
||||||
// We can't allow the type property to be changed (since it causes problems in IE)
|
// We can't allow the type property to be changed (since it causes problems in IE)
|
||||||
if ( name == "type" && jQuery.nodeName( elem, "input" ) && elem.parentNode )
|
if ( name == "type" && jQuery.nodeName( elem, "input" ) && elem.parentNode )
|
||||||
@ -1081,11 +1084,13 @@ jQuery.extend({
|
|||||||
// convert the value to a string (all browsers do this but IE) see #1070
|
// convert the value to a string (all browsers do this but IE) see #1070
|
||||||
elem.setAttribute( name, "" + value );
|
elem.setAttribute( name, "" + value );
|
||||||
|
|
||||||
if ( msie && special && notxml )
|
var attr = msie && notxml && special
|
||||||
return elem.getAttribute( name, 2 );
|
// Some attributes require a special call on IE
|
||||||
|
? elem.getAttribute( name, 2 )
|
||||||
return elem.getAttribute( name );
|
: elem.getAttribute( name );
|
||||||
|
|
||||||
|
// Non-existent attributes return null, we normalize to undefined
|
||||||
|
return attr === null ? undefined : attr;
|
||||||
}
|
}
|
||||||
|
|
||||||
// elem is actually elem.style ... set the style
|
// elem is actually elem.style ... set the style
|
@ -149,7 +149,7 @@ blockquote, q {
|
|||||||
-->
|
-->
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script type="text/javascript" src="../../../../jquery/jquery-1.2.5.js"></script>
|
<script type="text/javascript" src="../../../../jquery/jquery-1.2.6.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="../../../source/ui.core.js"></script>
|
<script type="text/javascript" src="../../../source/ui.core.js"></script>
|
||||||
<script type="text/javascript" src="../../../source/ui.accordion.js"></script>
|
<script type="text/javascript" src="../../../source/ui.accordion.js"></script>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<meta http-equiv="Content-Language" content="en" />
|
<meta http-equiv="Content-Language" content="en" />
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<title>Image Cropper: jQuery Real-world Demo</title>
|
<title>Image Cropper: jQuery Real-world Demo</title>
|
||||||
<script type="text/javascript" src="../../../../jquery/jquery-1.2.5.js"></script>
|
<script type="text/javascript" src="../../../../jquery/jquery-1.2.6.js"></script>
|
||||||
<script type="text/javascript" src="../../../source/ui.core.js"></script>
|
<script type="text/javascript" src="../../../source/ui.core.js"></script>
|
||||||
<script type="text/javascript" src="../../../source/ui.resizable.js"></script>
|
<script type="text/javascript" src="../../../source/ui.resizable.js"></script>
|
||||||
<script type="text/javascript" src="../../../source/ui.draggable.js"></script>
|
<script type="text/javascript" src="../../../source/ui.draggable.js"></script>
|
||||||
|
@ -77,7 +77,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- jQuery Core -->
|
<!-- jQuery Core -->
|
||||||
<script type="text/javascript" src="../../../../jquery/jquery-1.2.5.js"></script>
|
<script type="text/javascript" src="../../../../jquery/jquery-1.2.6.js"></script>
|
||||||
|
|
||||||
<!-- jQuery UI Base -->
|
<!-- jQuery UI Base -->
|
||||||
<script type="text/javascript" src="../../../source/ui.core.js"></script>
|
<script type="text/javascript" src="../../../source/ui.core.js"></script>
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
<meta name="keywords" content="jquery, ui, droppables, draggables, demo" />
|
<meta name="keywords" content="jquery, ui, droppables, draggables, demo" />
|
||||||
<meta name="description" content="Demonstration of jQuery UI Droppables and Dragables. More to come." />
|
<meta name="description" content="Demonstration of jQuery UI Droppables and Dragables. More to come." />
|
||||||
<script type="text/javascript" src="../../../../jquery/jquery-1.2.5.js"></script>
|
<script type="text/javascript" src="../../../../jquery/jquery-1.2.6.js"></script>
|
||||||
<script type="text/javascript" src="js/jquery.livequery.js"></script>
|
<script type="text/javascript" src="js/jquery.livequery.js"></script>
|
||||||
<script type="text/javascript" src="js/jquery.blockUI.js"></script>
|
<script type="text/javascript" src="js/jquery.blockUI.js"></script>
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@
|
|||||||
-->
|
-->
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script type="text/javascript" src="../../../../jquery/jquery-1.2.5.js"></script>
|
<script type="text/javascript" src="../../../../jquery/jquery-1.2.6.js"></script>
|
||||||
<script type="text/javascript" src="../../../source/ui.core.js"></script>
|
<script type="text/javascript" src="../../../source/ui.core.js"></script>
|
||||||
<script type="text/javascript" src="../../../source/ui.slider.js"></script>
|
<script type="text/javascript" src="../../../source/ui.slider.js"></script>
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<title>jQuery UI: SplitPane</title>
|
<title>jQuery UI: SplitPane</title>
|
||||||
|
|
||||||
<!-- jQuery -->
|
<!-- jQuery -->
|
||||||
<script type="text/javascript" src="../../../../jquery/jquery-1.2.5.js"></script>
|
<script type="text/javascript" src="../../../../jquery/jquery-1.2.6.js"></script>
|
||||||
|
|
||||||
<!-- jQuery UI -->
|
<!-- jQuery UI -->
|
||||||
<script type="text/javascript" src="../../../source/ui.core.js"></script>
|
<script type="text/javascript" src="../../../source/ui.core.js"></script>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<title>jQuery UI Accordion Test Suite</title>
|
<title>jQuery UI Accordion Test Suite</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../qunit/testsuite.css" type="text/css" media="screen">
|
<link rel="stylesheet" href="../../qunit/testsuite.css" type="text/css" media="screen">
|
||||||
<script type="text/javascript" src="../../jquery/jquery-1.2.5.js"></script>
|
<script type="text/javascript" src="../../jquery/jquery-1.2.6.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="../source/ui.core.js"></script>
|
<script type="text/javascript" src="../source/ui.core.js"></script>
|
||||||
<script type="text/javascript" src="../source/ui.accordion.js"></script>
|
<script type="text/javascript" src="../source/ui.accordion.js"></script>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<title>jQuery UI All Tests</title>
|
<title>jQuery UI All Tests</title>
|
||||||
<link rel="stylesheet" href="../../qunit/testsuite.css" type="text/css" media="screen">
|
<link rel="stylesheet" href="../../qunit/testsuite.css" type="text/css" media="screen">
|
||||||
<script type="text/javascript" src="../../jquery/jquery-1.2.5.js"></script>
|
<script type="text/javascript" src="../../jquery/jquery-1.2.6.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="../source/ui.core.js"></script>
|
<script type="text/javascript" src="../source/ui.core.js"></script>
|
||||||
<script type="text/javascript" src="../source/ui.accordion.js"></script>
|
<script type="text/javascript" src="../source/ui.accordion.js"></script>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title>Draggable - Automated Test Page</title>
|
<title>Draggable - Automated Test Page</title>
|
||||||
<script type="text/javascript" src="../../jquery/jquery-1.2.5.js"></script>
|
<script type="text/javascript" src="../../jquery/jquery-1.2.6.js"></script>
|
||||||
<script type="text/javascript" src="../../ui/source/ui.core.js"></script>
|
<script type="text/javascript" src="../../ui/source/ui.core.js"></script>
|
||||||
<script type="text/javascript" src="../../ui/source/ui.draggable.js"></script>
|
<script type="text/javascript" src="../../ui/source/ui.draggable.js"></script>
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<title>Draggable Test Page</title>
|
<title>Draggable Test Page</title>
|
||||||
<link rel="stylesheet" href="../../qunit/testsuite.css" type="text/css" media="screen">
|
<link rel="stylesheet" href="../../qunit/testsuite.css" type="text/css" media="screen">
|
||||||
|
|
||||||
<script type="text/javascript" src="../../jquery/jquery-1.2.5.js"></script>
|
<script type="text/javascript" src="../../jquery/jquery-1.2.6.js"></script>
|
||||||
<script type="text/javascript" src="../source/ui.core.js"></script>
|
<script type="text/javascript" src="../source/ui.core.js"></script>
|
||||||
<script type="text/javascript" src="../source/ui.draggable.js"></script>
|
<script type="text/javascript" src="../source/ui.draggable.js"></script>
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<title>Resizable Test Page</title>
|
<title>Resizable Test Page</title>
|
||||||
<link rel="stylesheet" href="../../qunit/testsuite.css" type="text/css" media="screen">
|
<link rel="stylesheet" href="../../qunit/testsuite.css" type="text/css" media="screen">
|
||||||
|
|
||||||
<script type="text/javascript" src="../../jquery/jquery-1.2.5.js"></script>
|
<script type="text/javascript" src="../../jquery/jquery-1.2.6.js"></script>
|
||||||
<script type="text/javascript" src="../source/ui.core.js"></script>
|
<script type="text/javascript" src="../source/ui.core.js"></script>
|
||||||
<script type="text/javascript" src="../source/ui.resizable.js"></script>
|
<script type="text/javascript" src="../source/ui.resizable.js"></script>
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<title>Slider Test Page</title>
|
<title>Slider Test Page</title>
|
||||||
<link rel="stylesheet" href="../../qunit/testsuite.css" type="text/css" media="screen">
|
<link rel="stylesheet" href="../../qunit/testsuite.css" type="text/css" media="screen">
|
||||||
|
|
||||||
<script type="text/javascript" src="../../jquery/jquery-1.2.5.js"></script>
|
<script type="text/javascript" src="../../jquery/jquery-1.2.6.js"></script>
|
||||||
<script type="text/javascript" src="../source/ui.core.js"></script>
|
<script type="text/javascript" src="../source/ui.core.js"></script>
|
||||||
<script type="text/javascript" src="../source/ui.slider.js"></script>
|
<script type="text/javascript" src="../source/ui.slider.js"></script>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user