Add highlightjs editor to view files

This commit is contained in:
2015-04-10 12:43:31 +00:00
parent c143a84841
commit a6634c4207
9 changed files with 210 additions and 120 deletions

View File

@@ -3,7 +3,8 @@
<!-- ko let: { loopRoot: $data } -->
<ul data-bind="template: { name: 'tree-template', foreach: folder().children() }" class="tree-file"></ul>
<!-- /ko -->
<!-- /ko -->
<!-- /ko -->
<span data-bind="visible: !folder()" class="text-center">Loading workspace...</span>
<script id="tree-template" type="text/html">
<!-- ko if: $data.type() === "folder" -->