Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Commit 1f8081d

Browse files
committed
Use CDN in doc instead #833
1 parent 70be42a commit 1f8081d

7 files changed

+18
-18
lines changed

demo/withPlugins/withButtons.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,18 @@ <h1>
2929
</tab>
3030
<tab heading="HTML">
3131
<div hljs>
32-
<link rel="stylesheet" href="vendor/datatables-buttons/css/buttons.dataTables.css">
32+
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.2.2/css/buttons.dataTables.min.css">
3333
<!-- ... -->
3434
<div ng-controller="WithButtonsCtrl as showCase">
3535
<table datatable dt-options="showCase.dtOptions" dt-columns="showCase.dtColumns" class="row-border hover"></table>
3636
</div>
3737
<!-- ... -->
38-
<script src="vendor/datatables-buttons/js/dataTables.buttons.js"></script>
38+
<script src="https://cdn.datatables.net/buttons/1.2.2/js/dataTables.buttons.min.js"></script>
39+
<script src="https://cdn.datatables.net/buttons/1.2.2/js/buttons.colVis.min.js"></script>
40+
<script src="https://cdn.datatables.net/buttons/1.2.2/js/buttons.flash.min.js"></script>
41+
<script src="https://cdn.datatables.net/buttons/1.2.2/js/buttons.html5.min.js"></script>
42+
<script src="https://cdn.datatables.net/buttons/1.2.2/js/buttons.print.min.js"></script>
3943
<script src="vendor/angular-datatables/dist/plugins/buttons/angular-datatables.buttons.min.js"></script>
40-
<script src="vendor/angular-datatables/dist/plugins/buttons/buttons.colVis.js"></script>
41-
<script src="vendor/angular-datatables/dist/plugins/buttons/buttons.flash.js"></script>
42-
<script src="vendor/angular-datatables/dist/plugins/buttons/buttons.html5.js"></script>
43-
<script src="vendor/angular-datatables/dist/plugins/buttons/buttons.print.js"></script>
4444
</div>
4545
</tab>
4646
<tab heading="JS">

demo/withPlugins/withColReorder.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ <h1><i class="fa fa-play"></i>&nbsp;With the DataTables <a href="https://datatab
2727
</tab>
2828
<tab heading="HTML">
2929
<div hljs>
30-
<link rel="stylesheet" href="vendor/datatables-colreorder/css/dataTables.colReorder.css">
30+
<link rel="stylesheet" href="https://cdn.datatables.net/colreorder/1.3.2/css/colReorder.dataTables.min.css">
3131
<!-- ... -->
3232
<div ng-controller="WithColReorderCtrl as showCase">
3333
<table datatable dt-options="showCase.dtOptions" dt-columns="showCase.dtColumns" class="row-border hover"></table>
3434
</div>
3535
<!-- ... -->
36-
<script src="vendor/datatables-colreorder/js/dataTables.colReorder.js"></script>
36+
<script src="https://cdn.datatables.net/colreorder/1.3.2/js/dataTables.colReorder.min.js"></script>
3737
<script src="vendor/angular-datatables/dist/plugins/colreorder/angular-datatables.colreorder.min.js"></script>
3838
</div>
3939
</tab>

demo/withPlugins/withFixedColumns.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ <h1><i class="fa fa-play"></i>&nbsp;With the DataTables <a href="https://datatab
664664
<tabset>
665665
<tab heading="HTML">
666666
<div hljs>
667-
<link rel="stylesheet" href="vendor/datatables-fixedcolumns/css/dataTables.fixedColumns.css">
667+
<link rel="stylesheet" href="https://cdn.datatables.net/fixedcolumns/3.2.2/css/fixedColumns.dataTables.min.css">
668668
<style>
669669
/* Ensure that the demo table scrolls */
670670
#showcase-fixedcolumns_wrapper th,
@@ -710,7 +710,7 @@ <h1><i class="fa fa-play"></i>&nbsp;With the DataTables <a href="https://datatab
710710
</table>
711711
</div>
712712
<!-- ... -->
713-
<script src="vendor/datatables-fixedcolumns/js/dataTables.fixedColumns.js"></script>
713+
<script src="https://cdn.datatables.net/fixedcolumns/3.2.2/js/dataTables.fixedColumns.min.js"></script>
714714
<script src="vendor/angular-datatables/dist/plugins/fixedcolumns/angular-datatables.fixedcolumns.min.js"></script>
715715
</div>
716716
</tab>

demo/withPlugins/withFixedHeader.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ <h1><i class="fa fa-play"></i>&nbsp;With the DataTables <a href="https://datatab
6666
<tabset>
6767
<tab heading="HTML">
6868
<div hljs>
69-
<link rel="stylesheet" href="vendor/datatables-fixedheader/css/fixedHeader.dataTables.css">
69+
<link rel="stylesheet" href="https://cdn.datatables.net/fixedheader/3.1.2/css/fixedHeader.dataTables.min.css">
7070
<!-- ... -->
7171
<div ng-controller="WithFixedHeaderCtrl as showCase">
7272
<table datatable dt-options="showCase.dtOptions" dt-columns="showCase.dtColumns" class="row-border hover">
@@ -80,7 +80,7 @@ <h1><i class="fa fa-play"></i>&nbsp;With the DataTables <a href="https://datatab
8080
</table>
8181
</div>
8282
<!-- ... -->
83-
<script src="vendor/datatables-fixedheader/js/dataTables.fixedHeader.js"></script>
83+
<script src="https://cdn.datatables.net/fixedheader/3.1.2/js/dataTables.fixedHeader.min.js"></script>
8484
<script src="vendor/angular-datatables/dist/plugins/fixedheader/angular-datatables.fixedheader.min.js"></script>
8585
</div>
8686
</tab>

demo/withPlugins/withResponsive.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ <h1><i class="fa fa-play"></i>&nbsp;With the DataTables <a href="https://datatab
2222
</tab>
2323
<tab heading="HTML">
2424
<div hljs>
25-
<link rel="stylesheet" href="vendor/datatables-responsive/css/dataTables.responsive.css">
25+
<link rel="stylesheet" href="https://cdn.datatables.net/responsive/2.1.0/css/responsive.dataTables.min.css">
2626
<!-- ... -->
2727
<div ng-controller="WithResponsiveCtrl as showCase">
2828
<table datatable dt-options="showCase.dtOptions" dt-columns="showCase.dtColumns" class="row-border hover" width="100%"></table>
2929
</div>
3030
<!-- ... -->
31-
<script src="vendor/datatables-responsive/js/dataTables.responsive.js"></script>
31+
<script src="https://cdn.datatables.net/responsive/2.1.0/js/dataTables.responsive.min.js"></script>
3232
</div>
3333
</tab>
3434
<tab heading="JS">

demo/withPlugins/withScroller.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ <h1><i class="fa fa-play"></i>&nbsp;With the DataTables <a href="http://datatabl
2727
</tab>
2828
<tab heading="HTML">
2929
<div hljs>
30-
<link rel="stylesheet" href="vendor/datatables-scroller/css/dataTables.scroller.css">
30+
<link rel="stylesheet" href="https://cdn.datatables.net/scroller/1.4.2/css/scroller.dataTables.min.css">
3131
<!-- ... -->
3232
<div ng-controller="WithScrollerCtrl as showCase">
3333
<table datatable dt-options="showCase.dtOptions" dt-columns="showCase.dtColumns" class="row-border hover"></table>
3434
</div>
3535
<!-- ... -->
36-
<script src="vendor/datatables-scroller/js/dataTables.scroller.js"></script>
36+
<script src="https://cdn.datatables.net/scroller/1.4.2/js/dataTables.scroller.min.js"></script>
3737
<script src="vendor/angular-datatables/dist/plugins/scroller/angular-datatables.scroller.min.js"></script>
3838
</div>
3939
</tab>

demo/withPlugins/withSelect.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ <h1>
2929
</tab>
3030
<tab heading="HTML">
3131
<div hljs>
32-
<link rel="stylesheet" href="vendor/datatables-select/css/dataTables.select.css">
32+
<link rel="stylesheet" href="https://cdn.datatables.net/select/1.2.0/css/select.dataTables.min.css">
3333
<!-- ... -->
3434
<div ng-controller="WithSelectCtrl as showCase">
3535
<table datatable dt-options="showCase.dtOptions" dt-columns="showCase.dtColumns" class="row-border hover"></table>
3636
</div>
3737
<!-- ... -->
38-
<script src="vendor/datatables-select/js/select.dataTables.js"></script>
38+
<script src="https://cdn.datatables.net/select/1.2.0/js/dataTables.select.min.js"></script>
3939
<script src="vendor/angular-datatables/dist/plugins/select/angular-datatables.select.min.js"></script>
4040
</div>
4141
</tab>

0 commit comments

Comments
 (0)