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
2929- var _moduleVsRootComp = ' root component'
3030- var _platformBrowserDynamicVsBootStrap = ' bootstrap'
3131
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-
4632- var adjustTsExamplePathForDart = function (_path ) {
4733- if (! _path) return _path;
4834- var path = _path .trim ();
Original file line number Diff line number Diff line change 4141 Learn these, and we're on our way.
4242
4343.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 > .
4545
4646.l-main-section
4747:marked
Original file line number Diff line number Diff line change @@ -3,15 +3,3 @@ include ../../../_includes/_util-fns
33//- See the _util-fns file included above for a description of the use of these variables.
44- var _docsFor = ' ts' ;
55//- 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 4141 Learn these building blocks, and you're on your way.
4242
4343.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 > .
4545
4646.l-main-section
4747:marked
You can’t perform that action at this time.
0 commit comments