Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 7ed5d08

Browse files
IgorMinarnaomiblack
authored andcommitted
fix ngModule tag, api-list and json encoding
1 parent d64cb11 commit 7ed5d08

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
module.exports = function() {
22
return {
3-
name: 'ngModule',
4-
multi: true
3+
name: 'ngModule'
54
};
65
};

tools/api-builder/angular.io-package/templates/api-list-data.template.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
"docType": "{$ item.docType $}",
88
"stability": "{$ item.stability $}",
99
"secure": "{$ item.security $}",
10-
"howToUse": "{$ item.howToUse | replace('"','\\"') $}",
11-
"whatItDoes": {% if item.whatItDoes %}"Exists"{% else %}"Not Done"{% endif %},
1210
"barrel" : "{$ module | replace("/index", "") $}"
1311
}{% if not loop.last %},{% endif %}
1412
{% endfor %}]{% if not loop.last %},{% endif %}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
div(layout="row" layout-xs="column" class="row-margin ng-cloak")
2+
div(flex="20" flex-xs="100")
3+
h2(class="h2-api-docs") NgModule
4+
div(class="code-links" flex="80" flex-xs="100").
5+
{$ doc.ngModule $}

tools/api-builder/angular.io-package/templates/pipe.template.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
{% include "layout/_how-to-use.html" %}
1515

16+
{% include "layout/_ng-module.html" %}
17+
1618
div(layout="row" layout-xs="column" class="row-margin ng-cloak")
1719
div(flex="20" flex-xs="100")
1820
h2(class="h2-api-docs") Description

0 commit comments

Comments
 (0)