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(){
|
||||
/*
|
||||
* jQuery 1.2.5 - New Wave Javascript
|
||||
* jQuery 1.2.6 - New Wave Javascript
|
||||
*
|
||||
* Copyright (c) 2008 John Resig (jquery.com)
|
||||
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
||||
* and GPL (GPL-LICENSE.txt) licenses.
|
||||
*
|
||||
* $Date: 2008-05-20 23:14:54 -0400 (Tue, 20 May 2008) $
|
||||
* $Rev: 5651 $
|
||||
* $Date: 2008-05-24 14:22:17 -0400 (Sat, 24 May 2008) $
|
||||
* $Rev: 5685 $
|
||||
*/
|
||||
|
||||
// Map over jQuery in case of overwrite
|
||||
@ -84,7 +84,7 @@ jQuery.fn = jQuery.prototype = {
|
||||
},
|
||||
|
||||
// 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
|
||||
size: function() {
|
||||
@ -402,6 +402,9 @@ jQuery.fn = jQuery.prototype = {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
if( value.constructor == Number )
|
||||
value += '';
|
||||
|
||||
return this.each(function(){
|
||||
if ( this.nodeType != 1 )
|
||||
return;
|
||||
@ -428,7 +431,7 @@ jQuery.fn = jQuery.prototype = {
|
||||
|
||||
html: function( value ) {
|
||||
return value == undefined ?
|
||||
(this.length ?
|
||||
(this[0] ?
|
||||
this[0].innerHTML :
|
||||
null) :
|
||||
this.empty().append( value );
|
||||
@ -505,9 +508,9 @@ jQuery.fn = jQuery.prototype = {
|
||||
this;
|
||||
|
||||
// execute all scripts after the elements have been injected
|
||||
if ( jQuery.nodeName( elem, "script" ) ) {
|
||||
if ( jQuery.nodeName( elem, "script" ) )
|
||||
scripts = scripts.add( elem );
|
||||
} else {
|
||||
else {
|
||||
// Remove any inner scripts for later evaluation
|
||||
if ( elem.nodeType == 1 )
|
||||
scripts = scripts.add( jQuery( "script", elem ).remove() );
|
||||
@ -746,14 +749,14 @@ jQuery.extend({
|
||||
},
|
||||
|
||||
prop: function( elem, value, type, i, name ) {
|
||||
// Handle executable functions
|
||||
if ( jQuery.isFunction( value ) )
|
||||
value = value.call( elem, i );
|
||||
// Handle executable functions
|
||||
if ( jQuery.isFunction( value ) )
|
||||
value = value.call( elem, i );
|
||||
|
||||
// Handle passing in a number to a CSS property
|
||||
return value && value.constructor == Number && type == "curCSS" && !exclude.test( name ) ?
|
||||
value + "px" :
|
||||
value;
|
||||
// Handle passing in a number to a CSS property
|
||||
return value && value.constructor == Number && type == "curCSS" && !exclude.test( name ) ?
|
||||
value + "px" :
|
||||
value;
|
||||
},
|
||||
|
||||
className: {
|
||||
@ -1058,7 +1061,7 @@ jQuery.extend({
|
||||
elem.parentNode.selectedIndex;
|
||||
|
||||
// If applicable, access the attribute via the DOM 0 way
|
||||
if ( notxml && !special && name in elem ) {
|
||||
if ( name in elem && notxml && !special ) {
|
||||
if ( set ){
|
||||
// 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 )
|
||||
@ -1081,11 +1084,13 @@ jQuery.extend({
|
||||
// convert the value to a string (all browsers do this but IE) see #1070
|
||||
elem.setAttribute( name, "" + value );
|
||||
|
||||
if ( msie && special && notxml )
|
||||
return elem.getAttribute( name, 2 );
|
||||
|
||||
return elem.getAttribute( name );
|
||||
var attr = msie && notxml && special
|
||||
// Some attributes require a special call on IE
|
||||
? elem.getAttribute( name, 2 )
|
||||
: 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
|
@ -149,7 +149,7 @@ blockquote, q {
|
||||
-->
|
||||
</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.accordion.js"></script>
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta http-equiv="Content-Language" content="en" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<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.resizable.js"></script>
|
||||
<script type="text/javascript" src="../../../source/ui.draggable.js"></script>
|
||||
|
@ -77,7 +77,7 @@
|
||||
</div>
|
||||
|
||||
<!-- 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 -->
|
||||
<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="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.blockUI.js"></script>
|
||||
|
||||
|
@ -98,7 +98,7 @@
|
||||
-->
|
||||
</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.slider.js"></script>
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
<title>jQuery UI: SplitPane</title>
|
||||
|
||||
<!-- 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 -->
|
||||
<script type="text/javascript" src="../../../source/ui.core.js"></script>
|
||||
|
@ -4,7 +4,7 @@
|
||||
<title>jQuery UI Accordion Test Suite</title>
|
||||
|
||||
<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.accordion.js"></script>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<title>jQuery UI All Tests</title>
|
||||
<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.accordion.js"></script>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<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.draggable.js"></script>
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
<title>Draggable Test Page</title>
|
||||
<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.draggable.js"></script>
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
<title>Resizable Test Page</title>
|
||||
<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.resizable.js"></script>
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
<title>Slider Test Page</title>
|
||||
<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.slider.js"></script>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user