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

Fix display of heritage #2792

Merged
merged 2 commits into from
Dec 14, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var _ = require('lodash');
* @description
*
*/
module.exports = function matchUpDirectiveDecoratorsProcessor(aliasMap) {
module.exports = function matchUpDirectiveDecoratorsProcessor() {

return {
$runAfter: ['ids-computed', 'paths-computed'],
Expand All @@ -20,7 +20,7 @@ module.exports = function matchUpDirectiveDecoratorsProcessor(aliasMap) {
if (doc.docType === 'directive') {
doc.selector = doc.directiveOptions.selector;

for(decoratorName in decoratorMappings) {
for(var decoratorName in decoratorMappings) {
var propertyName = decoratorMappings[decoratorName];
doc[propertyName] = getDecoratorValues(doc.directiveOptions[propertyName], decoratorName, doc.members);
}
Expand All @@ -31,7 +31,7 @@ module.exports = function matchUpDirectiveDecoratorsProcessor(aliasMap) {
};

function getDecoratorValues(classDecoratorValues, memberDecoratorName, members) {
var optionMap = {};

var decoratorValues = {};

// Parse the class decorator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
div(flex="20" flex-xs="100")
h2(class="h2-api-docs") Class Overview
div(flex="80" flex-xs="100")
code(class="no-bg api-doc-code openParens") class {$ doc.name $} {
code(class="no-bg api-doc-code openParens") class {$ doc.name $}{$ doc.heritage $} {

{% if doc.statics.length %}
div(layout="column")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
div(flex="20" flex-xs="100")
h2(class="h2-api-docs") Interface Overview
div(flex="80" flex-xs="100")
code(class="no-bg api-doc-code openParens") interface {$ doc.name $} {
code(class="no-bg api-doc-code openParens") interface {$ doc.name $}{$ doc.heritage $} {

{% if doc.members.length %}
div(layout="column")
Expand Down