aboutsummaryrefslogtreecommitdiff
path: root/node_modules/typedoc/dist/lib/output/plugins/PrettyPrintPlugin.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/typedoc/dist/lib/output/plugins/PrettyPrintPlugin.js')
-rw-r--r--node_modules/typedoc/dist/lib/output/plugins/PrettyPrintPlugin.js57
1 files changed, 29 insertions, 28 deletions
diff --git a/node_modules/typedoc/dist/lib/output/plugins/PrettyPrintPlugin.js b/node_modules/typedoc/dist/lib/output/plugins/PrettyPrintPlugin.js
index 87840493c..122971b6f 100644
--- a/node_modules/typedoc/dist/lib/output/plugins/PrettyPrintPlugin.js
+++ b/node_modules/typedoc/dist/lib/output/plugins/PrettyPrintPlugin.js
@@ -24,11 +24,12 @@ var PrettyPrintState;
PrettyPrintState[PrettyPrintState["Comment"] = 1] = "Comment";
PrettyPrintState[PrettyPrintState["Pre"] = 2] = "Pre";
})(PrettyPrintState || (PrettyPrintState = {}));
-var PrettyPrintPlugin = PrettyPrintPlugin_1 = (function (_super) {
+var PrettyPrintPlugin = (function (_super) {
__extends(PrettyPrintPlugin, _super);
function PrettyPrintPlugin() {
return _super !== null && _super.apply(this, arguments) || this;
}
+ PrettyPrintPlugin_1 = PrettyPrintPlugin;
PrettyPrintPlugin.prototype.initialize = function () {
this.listenTo(this.owner, events_1.PageEvent.END, this.onRendererEndPage, -1024);
};
@@ -115,34 +116,34 @@ var PrettyPrintPlugin = PrettyPrintPlugin_1 = (function (_super) {
}
event.contents = lines.join('\n');
};
+ PrettyPrintPlugin.IGNORED_TAGS = {
+ area: true,
+ base: true,
+ br: true,
+ wbr: true,
+ col: true,
+ command: true,
+ embed: true,
+ hr: true,
+ img: true,
+ input: true,
+ link: true,
+ meta: true,
+ param: true,
+ source: true
+ };
+ PrettyPrintPlugin.PRE_TAGS = {
+ pre: true,
+ code: true,
+ textarea: true,
+ script: true,
+ style: true
+ };
+ PrettyPrintPlugin = PrettyPrintPlugin_1 = __decorate([
+ components_1.Component({ name: 'pretty-print' })
+ ], PrettyPrintPlugin);
return PrettyPrintPlugin;
+ var PrettyPrintPlugin_1;
}(components_1.RendererComponent));
-PrettyPrintPlugin.IGNORED_TAGS = {
- area: true,
- base: true,
- br: true,
- wbr: true,
- col: true,
- command: true,
- embed: true,
- hr: true,
- img: true,
- input: true,
- link: true,
- meta: true,
- param: true,
- source: true
-};
-PrettyPrintPlugin.PRE_TAGS = {
- pre: true,
- code: true,
- textarea: true,
- script: true,
- style: true
-};
-PrettyPrintPlugin = PrettyPrintPlugin_1 = __decorate([
- components_1.Component({ name: 'pretty-print' })
-], PrettyPrintPlugin);
exports.PrettyPrintPlugin = PrettyPrintPlugin;
-var PrettyPrintPlugin_1;
//# sourceMappingURL=PrettyPrintPlugin.js.map \ No newline at end of file