This repository was archived by the owner on Dec 4, 2017. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +2
-28
lines changed Expand file tree Collapse file tree 4 files changed +2
-28
lines changed Original file line number Diff line number Diff line change @@ -29,20 +29,6 @@ include ../../../_includes/_util-fns
29
29
- var _moduleVsRootComp = ' root component'
30
30
- var _platformBrowserDynamicVsBootStrap = ' bootstrap'
31
31
32
- //- Deprecated
33
- mixin liveExampleLink(linkText, exampleUrlPartName )
34
- - var text = linkText || ' live example' ;
35
- - var ex = exampleUrlPartName || getExampleName ();
36
- - var href = ' http://angular-examples.github.io/' + ex;
37
- a( href ='#{href} ' target ="_blank" ) = text
38
-
39
- //- Deprecated
40
- mixin liveExampleLink2(linkText, exampleUrlPartName )
41
- - var srcText = attributes .srcText || ' view source' ;
42
- - var ex = exampleUrlPartName || attributes .example || getExampleName ();
43
- - var href = ' http://github.com/angular-examples/' + ex;
44
- span #[ + liveExampleLink(linkText, ex)] (#[ a( href ='#{href} ' target ="_blank" ) #{srcText}] )
45
-
46
32
- var adjustTsExamplePathForDart = function (_path ) {
47
33
- if (! _path) return _path;
48
34
- var path = _path .trim ();
Original file line number Diff line number Diff line change 41
41
Learn these, and we're on our way.
42
42
43
43
.l-sub-section
44
- p The code referenced in this chapter is available as a #[ + liveExampleLink2() ] .
44
+ p The code referenced in this chapter is available as a < live-example ></ live-example > .
45
45
46
46
.l-main-section
47
47
:marked
Original file line number Diff line number Diff line change @@ -3,15 +3,3 @@ include ../../../_includes/_util-fns
3
3
//- See the _util-fns file included above for a description of the use of these variables.
4
4
- var _docsFor = ' ts' ;
5
5
//- Other values match the defaults.
6
-
7
- //- Deprecated
8
- mixin liveExampleLink(linkText, exampleUrlPartName )
9
- - var text = linkText || ' live example' ;
10
- - var ex = exampleUrlPartName || getExampleName ();
11
- - var href = ' /resources/live-examples/' + ex + ' /ts/plnkr.html' ;
12
- a( href ='#{href} ' target ="_blank" ) = text
13
-
14
- //- Deprecated
15
- mixin liveExampleLink2(linkText, exampleUrlPartName )
16
- //- In Dart this gives 2 links: to the demo and to the source.
17
- + liveExampleLink(linkText, exampleUrlPartName)
Original file line number Diff line number Diff line change 41
41
Learn these building blocks, and you're on your way.
42
42
43
43
.l-sub-section
44
- p The code referenced on this page is available as a #[ + liveExampleLink2() ] .
44
+ p The code referenced on this page is available as a < live-example ></ live-example > .
45
45
46
46
.l-main-section
47
47
:marked
You can’t perform that action at this time.
0 commit comments