8000 eol-style and mime-type · fnagel/jquery-ui@cec2d32 · GitHub
Skip to content

Commit cec2d32

Browse files
committed
eol-style and mime-type
1 parent af7fdcb commit cec2d32

25 files changed

Lines changed: 767 additions & 767 deletions

File tree

jquery-1.3.1.js

Lines changed: 144 additions & 144 deletions
Original file line numberDiff line numberDiff line change
@@ -1250,150 +1250,150 @@ jQuery.each({
12501250
function num(elem, prop) {
12511251
return elem[0] && parseInt( jQuery.curCSS(elem[0], prop, true), 10 ) || 0;
12521252
}
1253-
var expando = "jQuery" + now(), uuid = 0, windowData = {};
1254-
1255-
jQuery.extend({
1256-
cache: {},
1257-
1258-
data: function( elem, name, data ) {
1259-
elem = elem == window ?
1260-
windowData :
1261-
elem;
1262-
1263-
var id = elem[ expando ];
1264-
1265-
// Compute a unique ID for the element
1266-
if ( !id )
1267-
id = elem[ expando ] = ++uuid;
1268-
1269-
// Only generate the data cache if we're
1270-
// trying to access or manipulate it
1271-
if ( name && !jQuery.cache[ id ] )
1272-
jQuery.cache[ id ] = {};
1273-
1274-
// Prevent overriding the named cache with undefined values
1275-
if ( data !== undefined )
1276-
jQuery.cache[ id ][ name ] = data;
1277-
1278-
// Return the named cache data, or the ID for the element
1279-
return name ?
1280-
jQuery.cache[ id ][ name ] :
1281-
id;
1282-
},
1283-
1284-
removeData: function( elem, name ) {
1285-
elem = elem == window ?
1286-
windowData :
1287-
elem;
1288-
1289-
var id = elem[ expando ];
1290-
1291-
// If we want to remove a specific section of the element's data
1292-
if ( name ) {
1293-
if ( jQuery.cache[ id ] ) {
1294-
// Remove the section of cache data
1295-
delete jQuery.cache[ id ][ name ];
1296-
1297-
// If we've removed all the data, remove the element's cache
1298-
name = "";
1299-
1300-
for ( name in jQuery.cache[ id ] )
1301-
break;
1302-
1303-
if ( !name )
1304-
jQuery.removeData( elem );
1305-
}
1306-
1307-
// Otherwise, we want to remove all of the element's data
1308-
} else {
1309-
// Clean up the element expando
1310-
try {
1311-
delete elem[ expando ];
1312-
} catch(e){
1313-
// IE has trouble directly removing the expando
1314-
// but it's ok with using removeAttribute
1315-
if ( elem.removeAttribute )
1316-
elem.removeAttribute( expando );
1317-
}
1318-
1319-
// Completely remove the data cache
1320-
delete jQuery.cache[ id ];
1321-
}
1322-
},
1323-
queue: function( elem, type, data ) {
1324-
if ( elem ){
1325-
1326-
type = (type || "fx") + "queue";
1327-
1328-
var q = jQuery.data( elem, type );
1329-
1330-
if ( !q || jQuery.isArray(data) )
1331-
q = jQuery.data( elem, type, jQuery.makeArray(data) );
1332-
else if( data )
1333-
q.push( data );
1334-
1335-
}
1336-
return q;
1337-
},
1338-
1339-
dequeue: function( elem, type ){
1340-
var queue = jQuery.queue( elem, type ),
1341-
fn = queue.shift();
1342-
1343-
if( !type || type === "fx" )
1344-
fn = queue[0];
1345-
1346-
if( fn !== undefined )
1347-
fn.call(elem);
1348-
}
1349-
});
1350-
1351-
jQuery.fn.extend({
1352-
data: function( key, value ){
1353-
var parts = key.split(".");
1354-
parts[1] = parts[1] ? "." + parts[1] : "";
1355-
1356-
if ( value === undefined ) {
1357-
var data = this.triggerHandler("getData" + parts[1] + "!", [parts[0]]);
1358-
1359-
if ( data === undefined && this.length )
1360-
data = jQuery.data( this[0], key );
1361-
1362-
return data === undefined && parts[1] ?
1363-
this.data( parts[0] ) :
1364-
data;
1365-
} else
1366-
return this.trigger("setData" + parts[1] + "!", [parts[0], value]).each(function(){
1367-
jQuery.data( this, key, value );
1368-
});
1369-
},
1370-
1371-
removeData: function( key ){
1372-
return this.each(function(){
1373-
jQuery.removeData( this, key );
1374-
});
1375-
},
1376-
queue: function(type, data){
1377-
if ( typeof type !== "string" ) {
1378-
data = type;
1379-
type = "fx";
1380-
}
1381-
1382-
if ( data === undefined )
1383-
return jQuery.queue( this[0], type );
1384-
1385-
return this.each(function(){
1386-
var queue = jQuery.queue( this, type, data );
1387-
1388-
if( type == "fx" && queue.length == 1 )
1389-
queue[0].call(this);
1390-
});
1391-
},
1392-
dequeue: function(type){
1393-
return this.each(function(){
1394-
jQuery.dequeue( this, type );
1395-
});
1396-
}
1253+
var expando = "jQuery" + now(), uuid = 0, windowData = {};
1254+
1255+
jQuery.extend({
1256+
cache: {},
1257+
1258+
data: function( elem, name, data ) {
1259+
elem = elem == window ?
1260+
windowData :
1261+
elem;
1262+
1263+
var id = elem[ expando ];
1264+
1265+
// Compute a unique ID for the element
1266+
if ( !id )
1267+
id = elem[ expando ] = ++uuid;
1268+
1269+
// Only generate the data cache if we're
1270+
// trying to access or manipulate it
1271+
if ( name && !jQuery.cache[ id ] )
1272+
jQuery.cache[ id ] = {};
1273+
1274+
// Prevent overriding the named cache with undefined values
1275+
if ( data !== undefined )
1276+
jQuery.cache[ id ][ name ] = data;
1277+
1278+
// Return the named cache data, or the ID for the element
1279+
return name ?
1280+
jQuery.cache[ id ][ name ] :
1281+
id;
1282+
},
1283+
1284+
removeData: function( elem, name ) {
1285+
elem = elem == window ?
1286+
windowData :
1287+
elem;
1288+
1289+
var id = elem[ expando ];
1290+
1291+
// If we want to remove a specific section of the element's data
1292+
if ( name ) {
1293+
if ( jQuery.cache[ id ] ) {
1294+
// Remove the section of cache data
1295+
delete jQuery.cache[ id ][ name ];
1296+
1297+
// If we've removed all the data, remove the element's cache
1298+
name = "";
1299+
1300+
for ( name in jQuery.cache[ id ] )
1301+
break;
1302+
1303+
if ( !name )
1304+
jQuery.removeData( elem );
1305+
}
1306+
1307+
// Otherwise, we want to remove all of the element's data
1308+
} else {
2885 1309+
// Clean up the element expando
1310+
try {
1311+
delete elem[ expando ];
1312+
} catch(e){
1313+
// IE has trouble directly removing the expando
1314+
// but it's ok with using removeAttribute
1315+
if ( elem.removeAttribute )
1316+
elem.removeAttribute( expando );
1317+
}
1318+
1319+
// Completely remove the data cache
1320+
delete jQuery.cache[ id ];
1321+
}
1322+
},
1323+
queue: function( elem, type, data ) {
1324+
if ( elem ){
1325+
1326+
type = (type || "fx") + "queue";
1327+
1328+
var q = jQuery.data( elem, type );
1329+
1330+
if ( !q || jQuery.isArray(data) )
1331+
q = jQuery.data( elem, type, jQuery.makeArray(data) );
1332+
else if( data )
1333+
q.push( data );
1334+
1335+
}
1336+
return q;
1337+
},
1338+
1339+
dequeue: function( elem, type ){
1340+
var queue = jQuery.queue( elem, type ),
1341+
fn = queue.shift();
1342+
1343+
if( !type || type === "fx" )
1344+
fn = queue[0];
1345+
1346+
if( fn !== undefined )
1347+
fn.call(elem);
1348+
}
1349+
});
1350+
1351+
jQuery.fn.extend({
1352+
data: function( key, value ){
1353+
var parts = key.split(".");
1354+
parts[1] = parts[1] ? "." + parts[1] : "";
1355+
1356+
if ( value === undefined ) {
1357+
var data = this.triggerHandler("getData" + parts[1] + "!", [parts[0]]);
1358+
1359+
if ( data === undefined && this.length )
1360+
data = jQuery.data( this[0], key );
1361+
1362+
return data === undefined && parts[1] ?
1363+
this.data( parts[0] ) :
1364+
data;
1365+
} else
1366+
return this.trigger("setData" + parts[1] + "!", [parts[0], value]).each(function(){
1367+
jQuery.data( this, key, value );
1368+
});
1369+
},
1370+
1371+
removeData: function( key ){
1372+
return this.each(function(){
1373+
jQuery.removeData( this, key );
1374+
});
1375+
},
1376+
queue: function(type, data){
1377+
if ( typeof type !== "string" ) {
1378+
data = type;
1379+
type = "fx";
1380+
}
1381+
1382+
if ( data === undefined )
1383+
return jQuery.queue( this[0], type );
1384+
1385+
return this.each(function(){
1386+
var queue = jQuery.queue( this, type, data );
1387+
1388+
if( type == "fx" && queue.length == 1 )
1389+
queue[0].call(this);
1390+
});
1391+
},
1392+
dequeue: function(type){
1393+
return this.each(function(){
1394+
jQuery.dequeue( this, type );
1395+
});
1396+
}
13971397
});/*!
13981398
* Sizzle CSS Selector Engine - v0.9.3
13991399
* Copyright 2009, The Dojo Foundation
Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,47 @@
1-
<!doctype html>
2-
<html>
3-
<head>
4-
<title>Accordion Static Test : Default</title>
5-
<link rel="stylesheet" href="../static.css" type="text/css" />
6-
<link rel="stylesheet" href="../../../themes/base/ui.base.css" type="text/css" />
7-
<link rel="stylesheet" href="../../../themes/base/ui.theme.css" type="text/css" title="ui-theme" />
8-
<script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
9-
<script type="text/javascript" src="../static.js"></script>
10-
</head>
11-
<body>
12-
13-
<div class="ui-accordion ui-widget ui-helper-reset">
14-
<div class="ui-accordion-group ui-accordion-selected">
15-
<h3 class="ui-accordion-header ui-helper-reset ui-state-active ui-corner-top" tabindex="0"><span class="ui-icon ui-icon-triangle-1-s"></span><a href="#">First</a></h3>
16-
<div>
17-
<div class="ui-accordion-content-wrap ui-helper-reset ui-widget-content ui-corner-bottom">
18-
<div class="ui-accordion-content">
19-
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
20-
</div>
21-
</div>
22-
</div>
23-
</div>
24-
<div class="ui-accordion-group">
25-
<h3 class="ui-accordion-header ui-helper-reset ui-state-default ui-corner-all" tabindex="0"><span class="ui-icon ui-icon-triangle-1-e"></span><a href="#">Second</a></h3>
26-
<div>
27-
<div class="ui-accordion-content-wrap ui-helper-reset ui-widget-content ui-corner-bottom" style="height: 95px; display: none;">
28-
<div class="ui-accordion-content">
29-
<p>Phasellus mattis tincidunt nibh. Cras orci urna, blandit id, pretium vel, aliquet ornare, felis. Maecenas scelerisque sem non nisl. Fusce sed lorem in enim dictum bibendum.</p>
30-
</div>
31-
</div>
32-
</div>
33-
</div>
34-
<div class="ui-accordion-group">
35-
<h3 class="ui-accordion-header ui-helper-reset ui-state-default ui-corner-all" tabindex="0"><span class="ui-icon ui-icon-triangle-1-e"></span><a href="#">Third</a></h3>
36-
<div>
37-
<div class="ui-accordion-content-wrap ui-helper-reset ui-widget-content ui-corner-bottom" style="height: 95px; display: none;">
38-
<div class="ui-accordion-content">
39-
<p>Nam dui erat, auctor a, dignissim quis, sollicitudin eu, felis. Pellentesque nisi urna, interdum eget, sagittis et, consequat vestibulum, lacus. Mauris porttitor ullamcorper augue.</p>
40-
</div>
41-
</div>
42 D345 -
</div>
43-
</div>
44-
</div>
45-
46-
</body>
47-
</html>
1+
<!doctype html>
2+
<html>
3+
<head>
4+
<title>Accordion Static Test : Default</title>
5+
<link rel="stylesheet" href="../static.css" type="text/css" />
6+
<link rel="stylesheet" href="../../../themes/base/ui.base.css" type="text/css" />
7+
<link rel="stylesheet" href="../../../themes/base/ui.theme.css" type="text/css" title="ui-theme" />
8+
<script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
9+
<script type="text/javascript" src="../static.js"></script>
10+
</head>
11+
<body>
12+
13+
<div class="ui-accordion ui-widget ui-helper-reset">
14+
<div class="ui-accordion-group ui-accordion-selected">
15+
<h3 class="ui-accordion-header ui-helper-reset ui-state-active ui-corner-top" tabindex="0"><span class="ui-icon ui-icon-triangle-1-s"></span><a href="#">First</a></h3>
16+
<div>
17+
<div class="ui-accordion-content-wrap ui-helper-reset ui-widget-content ui-corner-bottom">
18+
<div class="ui-accordion-content">
19+
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
20+
</div>
21+
</div>
22+
</div>
23+
</div>
24+
<div class="ui-accordion-group">
25+
<h3 class="ui-accordion-header ui-helper-reset ui-state-default ui-corner-all" tabindex="0"><span class="ui-icon ui-icon-triangle-1-e"></span><a href="#">Second</a></h3>
26+
<div>
27+
<div class="ui-accordion-content-wrap ui-helper-reset ui-widget-content ui-corner-bottom" style="height: 95px; display: none;">
28+
<div class="ui-accordion-content">
29+
<p>Phasellus mattis tincidunt nibh. Cras orci urna, blandit id, pretium vel, aliquet ornare, felis. Maecenas scelerisque sem non nisl. Fusce sed lorem in enim dictum bibendum.</p>
30+
</div>
31+
</div>
32+
</div>
33+
</div>
34+
<div class="ui-accordion-group">
35+
<h3 class="ui-accordion-header ui-helper-reset ui-state-default ui-corner-all" tabindex="0"><span class="ui-icon ui-icon-triangle-1-e"></span><a href="#">Third</a></h3>
36+
<div>
37+
<div class="ui-accordion-content-wrap ui-helper-reset ui-widget-content ui-corner-bottom" style="height: 95px; display: none;">
38+
<div class="ui-accordion-content">
39+
<p>Nam dui erat, auctor a, dignissim quis, sollicitudin eu, felis. Pellentesque nisi urna, interdum eget, sagittis et, consequat vestibulum, lacus. Mauris porttitor ullamcorper augue.</p>
40+
</div>
41+
</div>
42+
</div>
43+
</div>
44+
</div>
45+
46+
</body>
47+
</html>

0 commit comments

Comments
 (0)