1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-01-30 23:52:11 +01:00

Dev: Updating the XML for the external styling examples to use the new example build framework

This commit is contained in:
Allan Jardine 2015-07-15 17:10:24 +01:00
parent 821e866ac0
commit 4b378ff787
5 changed files with 13 additions and 17 deletions

View File

@ -1 +1 @@
c856d0eb232ce41c76d0c30739d33e47cc7288f4
e8b33dbd26132c20a8277b597d9aee75c4377b5b

View File

@ -7,7 +7,7 @@
<title>DataTables example - Foundation</title>
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/foundation/5.5.1/css/foundation.min.css">
<link rel="stylesheet" type="text/css" href="../../extensions/Plugins/integration/foundation/dataTables.foundation.css">
<link rel="stylesheet" type="text/css" href="../../media/css/dataTables.foundation.css">
<link rel="stylesheet" type="text/css" href="../resources/syntax/shCore.css">
<link rel="stylesheet" type="text/css" href="../resources/demo.css">
<style type="text/css" class="init">
@ -15,7 +15,7 @@
</style>
<script type="text/javascript" language="javascript" src="../../media/js/jquery.js"></script>
<script type="text/javascript" language="javascript" src="../../media/js/jquery.dataTables.js"></script>
<script type="text/javascript" language="javascript" src="../../extensions/Plugins/integration/foundation/dataTables.foundation.js"></script>
<script type="text/javascript" language="javascript" src="../../media/js/dataTables.foundation.js"></script>
<script type="text/javascript" language="javascript" src="../resources/syntax/shCore.js"></script>
<script type="text/javascript" language="javascript" src="../resources/demo.js"></script>
<script type="text/javascript" language="javascript" class="init">
@ -27,7 +27,7 @@ $(document).ready(function() {
</script>
</head>
<body class="dt-example">
<body class="dt-example dt-example-foundation">
<div class="container">
<section>
<h1>DataTables example <span>Foundation</span></h1>
@ -545,8 +545,7 @@ $(document).ready(function() {
<ul>
<li><a href="../../media/js/jquery.js">../../media/js/jquery.js</a></li>
<li><a href="../../media/js/jquery.dataTables.js">../../media/js/jquery.dataTables.js</a></li>
<li><a href=
"../../extensions/Plugins/integration/foundation/dataTables.foundation.js">../../extensions/Plugins/integration/foundation/dataTables.foundation.js</a></li>
<li><a href="../../media/js/dataTables.foundation.js">../../media/js/dataTables.foundation.js</a></li>
</ul>
</div>
@ -564,8 +563,7 @@ $(document).ready(function() {
<ul>
<li><a href="//cdn.jsdelivr.net/foundation/5.5.1/css/foundation.min.css">//cdn.jsdelivr.net/foundation/5.5.1/css/foundation.min.css</a></li>
<li><a href=
"../../extensions/Plugins/integration/foundation/dataTables.foundation.css">../../extensions/Plugins/integration/foundation/dataTables.foundation.css</a></li>
<li><a href="../../media/css/dataTables.foundation.css">../../media/css/dataTables.foundation.css</a></li>
</ul>
</div>

View File

@ -7,7 +7,7 @@
<title>DataTables example - jQuery UI ThemeRoller</title>
<link rel="stylesheet" type="text/css" href="//code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css">
<link rel="stylesheet" type="text/css" href="../../extensions/Plugins/integration/jqueryui/dataTables.jqueryui.css">
<link rel="stylesheet" type="text/css" href="../../media/css/dataTables.jqueryui.css">
<link rel="stylesheet" type="text/css" href="../resources/syntax/shCore.css">
<link rel="stylesheet" type="text/css" href="../resources/demo.css">
<style type="text/css" class="init">
@ -15,7 +15,7 @@
</style>
<script type="text/javascript" language="javascript" src="../../media/js/jquery.js"></script>
<script type="text/javascript" language="javascript" src="../../media/js/jquery.dataTables.js"></script>
<script type="text/javascript" language="javascript" src="../../extensions/Plugins/integration/jqueryui/dataTables.jqueryui.js"></script>
<script type="text/javascript" language="javascript" src="../../media/js/dataTables.jqueryui.js"></script>
<script type="text/javascript" language="javascript" src="../resources/syntax/shCore.js"></script>
<script type="text/javascript" language="javascript" src="../resources/demo.js"></script>
<script type="text/javascript" language="javascript" class="init">
@ -27,7 +27,7 @@ $(document).ready(function() {
</script>
</head>
<body class="dt-example">
<body class="dt-example dt-example-jqueryui">
<div class="container">
<section>
<h1>DataTables example <span>jQuery UI ThemeRoller</span></h1>
@ -548,8 +548,7 @@ $(document).ready(function() {
<ul>
<li><a href="../../media/js/jquery.js">../../media/js/jquery.js</a></li>
<li><a href="../../media/js/jquery.dataTables.js">../../media/js/jquery.dataTables.js</a></li>
<li><a href=
"../../extensions/Plugins/integration/jqueryui/dataTables.jqueryui.js">../../extensions/Plugins/integration/jqueryui/dataTables.jqueryui.js</a></li>
<li><a href="../../media/js/dataTables.jqueryui.js">../../media/js/dataTables.jqueryui.js</a></li>
</ul>
</div>
@ -567,8 +566,7 @@ $(document).ready(function() {
<ul>
<li><a href="//code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css">//code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css</a></li>
<li><a href=
"../../extensions/Plugins/integration/jqueryui/dataTables.jqueryui.css">../../extensions/Plugins/integration/jqueryui/dataTables.jqueryui.css</a></li>
<li><a href="../../media/css/dataTables.jqueryui.css">../../media/css/dataTables.jqueryui.css</a></li>
</ul>
</div>

View File

@ -519,7 +519,7 @@
// Scrolling feature / quirks detection
var n = $('<div/>')
.css( {
position: 'fixed',
position: 'absolute',
top: 0,
left: 0,
height: 1,

View File

@ -4,7 +4,7 @@
*/
(function(Ga,T,k){var S=function(h){function Y(a){var b,c,e={};h.each(a,function(d){if((b=d.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(b[1]+" "))c=d.replace(b[0],b[2].toLowerCase()),e[c]=d,"o"===b[1]&&Y(a[d])});a._hungarianMap=e}function H(a,b,c){a._hungarianMap||Y(a);var e;h.each(b,function(d){e=a._hungarianMap[d];if(e!==k&&(c||b[e]===k))"o"===e.charAt(0)?(b[e]||(b[e]={}),h.extend(!0,b[e],b[d]),H(a[e],b[e],c)):b[e]=b[d]})}function S(a){var b=m.defaults.oLanguage,c=a.sZeroRecords;
!a.sEmptyTable&&(c&&"No data available in table"===b.sEmptyTable)&&E(a,a,"sZeroRecords","sEmptyTable");!a.sLoadingRecords&&(c&&"Loading..."===b.sLoadingRecords)&&E(a,a,"sZeroRecords","sLoadingRecords");a.sInfoThousands&&(a.sThousands=a.sInfoThousands);(a=a.sDecimal)&&eb(a)}function fb(a){B(a,"ordering","bSort");B(a,"orderMulti","bSortMulti");B(a,"orderClasses","bSortClasses");B(a,"orderCellsTop","bSortCellsTop");B(a,"order","aaSorting");B(a,"orderFixed","aaSortingFixed");B(a,"paging","bPaginate");
B(a,"pagingType","sPaginationType");B(a,"pageLength","iDisplayLength");B(a,"searching","bFilter");"boolean"===typeof a.sScrollX&&(a.sScrollX=a.sScrollX?"100%":"");if(a=a.aoSearchCols)for(var b=0,c=a.length;b<c;b++)a[b]&&H(m.models.oSearch,a[b])}function gb(a){B(a,"orderable","bSortable");B(a,"orderData","aDataSort");B(a,"orderSequence","asSorting");B(a,"orderDataType","sortDataType");var b=a.aDataSort;b&&!h.isArray(b)&&(a.aDataSort=[b])}function hb(a){var a=a.oBrowser,b=h("<div/>").css({position:"fixed",
B(a,"pagingType","sPaginationType");B(a,"pageLength","iDisplayLength");B(a,"searching","bFilter");"boolean"===typeof a.sScrollX&&(a.sScrollX=a.sScrollX?"100%":"");if(a=a.aoSearchCols)for(var b=0,c=a.length;b<c;b++)a[b]&&H(m.models.oSearch,a[b])}function gb(a){B(a,"orderable","bSortable");B(a,"orderData","aDataSort");B(a,"orderSequence","asSorting");B(a,"orderDataType","sortDataType");var b=a.aDataSort;b&&!h.isArray(b)&&(a.aDataSort=[b])}function hb(a){var a=a.oBrowser,b=h("<div/>").css({position:"absolute",
top:0,left:0,height:1,width:1,overflow:"hidden"}).append(h("<div/>").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(h('<div class="test"/>').css({width:"100%",height:10}))).appendTo("body"),c=b.find(".test");a.bScrollOversize=100===c[0].offsetWidth;a.bScrollbarLeft=1!==Math.round(c.offset().left);b.remove()}function ib(a,b,c,e,d,f){var g,j=!1;c!==k&&(g=c,j=!0);for(;e!==d;)a.hasOwnProperty(e)&&(g=j?b(g,a[e],e,a):a[e],j=!0,e+=f);return g}function Ha(a,b){var c=m.defaults.column,
e=a.aoColumns.length,c=h.extend({},m.models.oColumn,c,{nTh:b?b:T.createElement("th"),sTitle:c.sTitle?c.sTitle:b?b.innerHTML:"",aDataSort:c.aDataSort?c.aDataSort:[e],mData:c.mData?c.mData:e,idx:e});a.aoColumns.push(c);c=a.aoPreSearchCols;c[e]=h.extend({},m.models.oSearch,c[e]);la(a,e,h(b).data())}function la(a,b,c){var b=a.aoColumns[b],e=a.oClasses,d=h(b.nTh);if(!b.sWidthOrig){b.sWidthOrig=d.attr("width")||null;var f=(d.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);f&&(b.sWidthOrig=f[1])}c!==
k&&null!==c&&(gb(c),H(m.defaults.column,c),c.mDataProp!==k&&!c.mData&&(c.mData=c.mDataProp),c.sType&&(b._sManualType=c.sType),c.className&&!c.sClass&&(c.sClass=c.className),h.extend(b,c),E(b,c,"sWidth","sWidthOrig"),c.iDataSort!==k&&(b.aDataSort=[c.iDataSort]),E(b,c,"aDataSort"));var g=b.mData,j=O(g),i=b.mRender?O(b.mRender):null,c=function(a){return"string"===typeof a&&-1!==a.indexOf("@")};b._bAttrSrc=h.isPlainObject(g)&&(c(g.sort)||c(g.type)||c(g.filter));b.fnGetData=function(a,b,c){var e=j(a,b,