Skip to content

Commit

Permalink
feat(app): add component DOM tree graph in tab
Browse files Browse the repository at this point in the history
fix #108
  • Loading branch information
vogloblinsky committed Mar 19, 2017
1 parent d4b7274 commit 318d0c6
Show file tree
Hide file tree
Showing 7 changed files with 1,168 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/app/engines/html.engine.helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ export let HtmlEngineHelpers = (function() {
text = text.replace(/ /gm, '    ');
return new Handlebars.SafeString(text);
});
Handlebars.registerHelper('escapeSimpleQuote', function(text) {
var _text = text.replace(/'/g, "\\'");
_text = _text.replace(/(\r\n|\n|\r)/gm, '');
return _text;
});
Handlebars.registerHelper('breakComma', function(text) {
text = Handlebars.Utils.escapeExpression(text);
text = text.replace(/,/g, ',<br>');
Expand Down
2 changes: 2 additions & 0 deletions src/resources/js/libs/deep-iterator.js

Large diffs are not rendered by default.

0 comments on commit 318d0c6

Please sign in to comment.