This repository was archived by the owner on Feb 2, 2025. It is now read-only.
File tree 9 files changed +24
-28
lines changed
9 files changed +24
-28
lines changed Original file line number Diff line number Diff line change 7
7
"start" : " ng serve" ,
8
8
"test" : " ng test" ,
9
9
"lint" : " ng lint" ,
10
- "build" : " ng build --base-href /angular-datatables/" ,
10
+ "build:prod " : " ng build --prod --aot --base-href /angular-datatables/" ,
11
11
"e2e" : " ng e2e"
12
12
},
13
13
"private" : true ,
31
31
"highlight.js" : " 9.9.0" ,
32
32
"jquery" : " 3.1.1" ,
33
33
"materialize-css" : " 0.98.0" ,
34
- "ng2-simple-page-scroll" : " 2.0.0" ,
35
34
"rxjs" : " 5.1.1" ,
36
35
"tether" : " 1.3.8" ,
37
36
"ts-helpers" : " 1.1.1" ,
Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ <h1 class="header center-on-small-only">Getting the DataTable instance</h1>
16
16
</ p >
17
17
< div class ="col s12 m9 l12 showcase-tabs ">
18
18
< ul class ="anchor-links ">
19
- < li class ="col s4 "> < a class ="waves-effect btn " simplePageScroll href ="#preview "> Preview</ a > </ li >
20
- < li class ="col s4 "> < a class ="waves-effect btn " simplePageScroll href ="#html "> HTML</ a > </ li >
21
- < li class ="col s3 "> < a class ="waves-effect btn " simplePageScroll href ="#ts "> Typescript</ a > </ li >
19
+ < li class ="col s4 "> < a class ="waves-effect btn " href ="#preview "> Preview</ a > </ li >
20
+ < li class ="col s4 "> < a class ="waves-effect btn " href ="#html "> HTML</ a > </ li >
21
+ < li class ="col s3 "> < a class ="waves-effect btn " href ="#ts "> Typescript</ a > </ li >
22
22
</ ul >
23
23
</ div >
24
24
< div id ="preview " class ="col s12 m9 l12 ">
Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ <h1 class="header center-on-small-only">Load DataTables options with promise</h1
16
16
</ p >
17
17
< div class ="col s12 m9 l12 showcase-tabs ">
18
18
< ul class ="anchor-links ">
19
- < li class ="col s3 "> < a class ="waves-effect btn " simplePageScroll href ="#preview "> Preview</ a > </ li >
20
- < li class ="col s3 "> < a class ="waves-effect btn " simplePageScroll href ="#html "> HTML</ a > </ li >
21
- < li class ="col s3 "> < a class ="waves-effect btn " simplePageScroll href ="#ts "> Typescript</ a > </ li >
22
- < li class ="col s2 "> < a class ="waves-effect btn " simplePageScroll href ="#data "> Example data</ a > </ li >
19
+ < li class ="col s3 "> < a class ="waves-effect btn " href ="#preview "> Preview</ a > </ li >
20
+ < li class ="col s3 "> < a class ="waves-effect btn " href ="#html "> HTML</ a > </ li >
21
+ < li class ="col s3 "> < a class ="waves-effect btn " href ="#ts "> Typescript</ a > </ li >
22
+ < li class ="col s2 "> < a class ="waves-effect btn " href ="#data "> Example data</ a > </ li >
23
23
</ ul >
24
24
</ div >
25
25
< div id ="preview " class ="col s12 m9 l12 ">
Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ <h1 class="header center-on-small-only">Row click event</h1>
16
16
</ p >
17
17
< div class ="col s12 m9 l12 showcase-tabs ">
18
18
< ul class ="anchor-links ">
19
- < li class ="col s4 "> < a class ="waves-effect btn " simplePageScroll href ="#preview "> Preview</ a > </ li >
20
- < li class ="col s4 "> < a class ="waves-effect btn " simplePageScroll href ="#html "> HTML</ a > </ li >
21
- < li class ="col s3 "> < a class ="waves-effect btn " simplePageScroll href ="#ts "> Typescript</ a > </ li >
19
+ < li class ="col s4 "> < a class ="waves-effect btn " href ="#preview "> Preview</ a > </ li >
20
+ < li class ="col s4 "> < a class ="waves-effect btn " href ="#html "> HTML</ a > </ li >
21
+ < li class ="col s3 "> < a class ="waves-effect btn " href ="#ts "> Typescript</ a > </ li >
22
22
</ ul >
23
23
</ div >
24
24
< div id ="preview " class ="col s12 m9 l12 ">
Original file line number Diff line number Diff line change @@ -5,8 +5,6 @@ import { HttpModule } from '@angular/http';
5
5
6
6
import { HighlightJsModule , HighlightJsService } from 'angular2-highlight-js' ;
7
7
8
- import { Ng2SimplePageScrollModule } from 'ng2-simple-page-scroll' ;
9
-
10
8
import { DataTablesModule } from 'angular-datatables' ;
11
9
12
10
import { AppRoutingModule } from './app.routing' ;
@@ -57,8 +55,7 @@ import { RowClickEventSnippetComponent } from './advanced/row-click-event-snippe
57
55
HighlightJsModule ,
58
56
HttpModule ,
59
57
DataTablesModule ,
60
- AppRoutingModule ,
61
- Ng2SimplePageScrollModule . forRoot ( )
58
+ AppRoutingModule
62
59
] ,
63
60
providers : [
64
61
HighlightJsService
Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ <h1 class="header center-on-small-only">With ajax</h1>
16
16
</ p >
17
17
< div class ="col s12 m9 l12 showcase-tabs ">
18
18
< ul class ="anchor-links ">
19
- < li class ="col s3 "> < a class ="waves-effect btn " simplePageScroll href ="#preview "> Preview</ a > </ li >
20
- < li class ="col s3 "> < a class ="waves-effect btn " simplePageScroll href ="#html "> HTML</ a > </ li >
21
- < li class ="col s3 "> < a class ="waves-effect btn " simplePageScroll href ="#ts "> Typescript</ a > </ li >
22
- < li class ="col s2 "> < a class ="waves-effect btn " simplePageScroll href ="#data "> Example data</ a > </ li >
19
+ < li class ="col s3 "> < a class ="waves-effect btn " href ="#preview "> Preview</ a > </ li >
20
+ < li class ="col s3 "> < a class ="waves-effect btn " href ="#html "> HTML</ a > </ li >
21
+ < li class ="col s3 "> < a class ="waves-effect btn " href ="#ts "> Typescript</ a > </ li >
22
+ < li class ="col s2 "> < a class ="waves-effect btn " href ="#data "> Example data</ a > </ li >
23
23
</ ul >
24
24
</ div >
25
25
< div id ="preview " class ="col s12 m9 l12 ">
Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ <h1 class="header center-on-small-only">With options</h1>
16
16
</ p >
17
17
< div class ="col s12 m9 l12 showcase-tabs ">
18
18
< ul class ="anchor-links ">
19
- < li class ="col s4 "> < a class ="waves-effect btn " simplePageScroll href ="#preview "> Preview</ a > </ li >
20
- < li class ="col s4 "> < a class ="waves-effect btn " simplePageScroll href ="#html "> HTML</ a > </ li >
21
- < li class ="col s3 "> < a class ="waves-effect btn " simplePageScroll href ="#ts "> Typescript</ a > </ li >
19
+ < li class ="col s4 "> < a class ="waves-effect btn " href ="#preview "> Preview</ a > </ li >
20
+ < li class ="col s4 "> < a class ="waves-effect btn " href ="#html "> HTML</ a > </ li >
21
+ < li class ="col s3 "> < a class ="waves-effect btn " href ="#ts "> Typescript</ a > </ li >
22
22
</ ul >
23
23
</ div >
24
24
< div id ="preview " class ="col s12 m9 l12 ">
Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ <h1 class="header center-on-small-only">Zero configuration</h1>
16
16
</ p >
17
17
< div class ="col s12 m9 l12 showcase-tabs ">
18
18
< ul class ="anchor-links ">
19
- < li class ="col s4 "> < a class ="waves-effect btn " simplePageScroll href ="#preview "> Preview</ a > </ li >
20
- < li class ="col s4 "> < a class ="waves-effect btn " simplePageScroll href ="#html "> HTML</ a > </ li >
21
- < li class ="col s3 "> < a class ="waves-effect btn " simplePageScroll href ="#ts "> Typescript</ a > </ li >
19
+ < li class ="col s4 "> < a class ="waves-effect btn " href ="#preview "> Preview</ a > </ li >
20
+ < li class ="col s4 "> < a class ="waves-effect btn " href ="#html "> HTML</ a > </ li >
21
+ < li class ="col s3 "> < a class ="waves-effect btn " href ="#ts "> Typescript</ a > </ li >
22
22
</ ul >
23
23
</ div >
24
24
< div id ="preview " class ="col s12 m9 l12 ">
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ info "Deloying the documentation to the GH pages from $cwd (project name is $pro
28
28
29
29
info " Building documentation..."
30
30
cd $cwd /demo
31
- npm run build
31
+ npm run build:prod
32
32
33
33
info " Copying the doc folder to /tmp"
34
34
rm -rf /tmp/angular-datatables-demo
@@ -44,7 +44,7 @@ git checkout gh-pages
44
44
git fetch && git reset --hard origin/gh-pages
45
45
46
46
info " Remove all files except .git"
47
- rm -rf ^.git
47
+ rm -rf *
48
48
# find . -maxdepth 1 | grep -v ".git" | xargs rm -rf
49
49
50
50
info " Copy the doc to the gh-pages branch"
You can’t perform that action at this time.
0 commit comments